Eiolon Posted October 27, 2010 Share Posted October 27, 2010 I have a table and in it are two columns, a date column and basically a check bit column (1 or 0). Is it possible to schedule within MySQL the ability to change the bit from a 1 to a 0 if the date in the date column has been reached? It would need to be checked daily. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/217038-can-i-have-a-task-scheduled-within-mysql/ Share on other sites More sharing options...
BlueSkyIS Posted October 27, 2010 Share Posted October 27, 2010 there is an event scheduler, but it must be enabled. http://dev.mysql.com/doc/refman/5.1/en/events.html alternatively, there is crontab Quote Link to comment https://forums.phpfreaks.com/topic/217038-can-i-have-a-task-scheduled-within-mysql/#findComment-1127254 Share on other sites More sharing options...
mikosiko Posted October 27, 2010 Share Posted October 27, 2010 possible... depending on your MySql Version you could have available Mysql EVENTS (5.1.6 and up) http://dev.mysql.com/tech-resources/articles/mysql-events.html Quote Link to comment https://forums.phpfreaks.com/topic/217038-can-i-have-a-task-scheduled-within-mysql/#findComment-1127255 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.