MySQL Forums
Forum List  »  Events (Job Scheduler)

Re: Event Scheduler will not start automatically
Posted by: Ade Haryo Kusumo
Date: November 26, 2010 03:48AM


I'm new to mySQL and want to use this Event Scheduler.

My goal is i want to update my table automatically every day at 00.00 AM. here is my syntax:

Create Event UpdateStatus
On Schedule every 1 day
Starts '2010-11-25 00:00:00'
On Completion Preserve
Do update Coupons set coupon_status ='Expired' where Coupon_exp_date = Curdate();

But when the time reach 00.00 AM, my table didn't change.. is there something wrong in my script?


Options: ReplyQuote

Written By
Re: Event Scheduler will not start automatically
November 26, 2010 03:48AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.