spiceydog Posted July 12, 2008 Share Posted July 12, 2008 I need a value in one of my tables to be reset back to 0 every week but I'm not sure how I would go about setting the scheduled task. Any ideas? Link to comment https://forums.phpfreaks.com/topic/114475-solved-a-weekly-or-scheduled-php-action/ Share on other sites More sharing options...
ratcateme Posted July 12, 2008 Share Posted July 12, 2008 are you on linux? do you have access to cron it will do that. Scott. Link to comment https://forums.phpfreaks.com/topic/114475-solved-a-weekly-or-scheduled-php-action/#findComment-588620 Share on other sites More sharing options...
spiceydog Posted July 12, 2008 Author Share Posted July 12, 2008 well... i guess i could do that... but it would be really nice if the website could do it somehow. I am using cPanel Link to comment https://forums.phpfreaks.com/topic/114475-solved-a-weekly-or-scheduled-php-action/#findComment-588621 Share on other sites More sharing options...
ratcateme Posted July 12, 2008 Share Posted July 12, 2008 i don't use cPanel but i think it has support for cron. Scott. Link to comment https://forums.phpfreaks.com/topic/114475-solved-a-weekly-or-scheduled-php-action/#findComment-588623 Share on other sites More sharing options...
teynon Posted July 12, 2008 Share Posted July 12, 2008 Cpanel has cron. Shouldn't be hard to find... Varies where its at depending on what version. Cron is your only good option. Every other option sucks. Link to comment https://forums.phpfreaks.com/topic/114475-solved-a-weekly-or-scheduled-php-action/#findComment-588633 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.