Jump to content


Photo

timed script


  • Please log in to reply
3 replies to this topic

#1 desithugg

desithugg
  • Members
  • PipPipPip
  • Advanced Member
  • 281 posts
  • LocationScarborough

Posted 03 August 2006 - 05:06 PM

umm is there anyway i can get some Integer rows in mysql to reset (set back to 0) whenever a new day starts?

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 03 August 2006 - 05:18 PM

I won't ask why you even want to, but that's what a CRON job is for.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 desithugg

desithugg
  • Members
  • PipPipPip
  • Advanced Member
  • 281 posts
  • LocationScarborough

Posted 03 August 2006 - 05:37 PM

00 00 * * * /aff/reset.php

is what i have i uploaded cron.txt but how cna i install it ? 

#4 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 03 August 2006 - 05:44 PM

install what?  And CRON with PHP can be tricky, from what I've heard.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users