Mysql event schedule run evry month -


delimiter $$  alter definer=`root`@`localhost` event `update_start_date` on schedule every 1 month    update categories set start_date=now() status = 1 $$  delimiter ; 

the above event runs 1 time @ month beginning next month begining not run, le me know how run event every month begining.

i think should use "cron" this


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -