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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -