Forum Moderators: coopster

Message Too Old, No Replies

Timing a cleanup

         

DeadlyDesigns

6:24 am on Jan 9, 2005 (gmt 0)

10+ Year Member



I wanna know how to reset a field in a database to 0 once every 24 hours.

i have an affiliates script that counts clicks in/out and i wanna reset it once a day to make sure it is accumulated over a long time and i dont really wanna hand set it to 0 all the time

dreamcatcher

11:05 am on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld DeadlyDesigns.

Have you looked into cron jobs? If you are using cpanel, check the cpanel forums, as they have info on how to set one up if you aren`t familiar with them.