View Full Version : I am looking for a code that do an event at spesified time at day!

The Sniper
02-25-2007, 09:22 AM
Hi All
The matter is that I have a counter at my site, stores the values at a text file, and I want to reset this counter automatically to zero every day at a specified time, lets say at 6 pm, so any body have ideas how to do that?


02-25-2007, 02:34 PM
You need to use a cron job. You can write a php script to do the work then have the cron job activate it at 6pm every day.