chicago123 Posted March 11, 2014 Share Posted March 11, 2014 I am a PHP beginner. Every x days (every 7 days for example), I would like all the values in a certain column in my MySQL database to reset back to '1'. How do I do this? Please note: My web host does NOT have the MySQL event scheduler enabled so that is not an option. Also, my web hosting plan does not allow me to do cronjobs so that is not option either. Any other ideas?Thanks! Link to comment https://forums.phpfreaks.com/topic/286870-how-do-i-reset-a-column-in-a-table-in-my-database-every-x-days/ Share on other sites More sharing options...
jairathnem Posted March 11, 2014 Share Posted March 11, 2014 check : https://www.setcronjob.com They have a free service with upto 50 cron jobs/day. Link to comment https://forums.phpfreaks.com/topic/286870-how-do-i-reset-a-column-in-a-table-in-my-database-every-x-days/#findComment-1472117 Share on other sites More sharing options...
chicago123 Posted March 11, 2014 Author Share Posted March 11, 2014 Ok thanks, that works! Link to comment https://forums.phpfreaks.com/topic/286870-how-do-i-reset-a-column-in-a-table-in-my-database-every-x-days/#findComment-1472242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.