MySQL Forums
Forum List  »  Events (Job Scheduler)

Re: scheduled task doesn't work on 5.524-log/windows
Posted by: Barry Galbraith
Date: July 18, 2012 03:43PM

Have you started the Event Scheduler daemon?

mysql> select @@event_scheduler;
+-------------------+
| @@event_scheduler |
+-------------------+
| OFF               |
+-------------------+
1 row in set (0.00 sec)

mysql> set global event_scheduler=on;
Query OK, 0 rows affected (0.00 sec)

mysql> select @@event_scheduler;
+-------------------+
| @@event_scheduler |
+-------------------+
| ON                |
+-------------------+
1 row in set (0.00 sec)

Unless it's running, event's won't be run.
You can set it to start on mysql startup by adding it to my.ini / my.cnf
event-scheduler=on

Good luck,
Barry.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: scheduled task doesn't work on 5.524-log/windows
2124
July 18, 2012 03:43PM


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.