Quantcast
Channel: How to schedule a stored procedure in MySQL - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Nero for How to schedule a stored procedure in MySQL

$
0
0

I used this query and it worked for me:

CREATE EVENT `exec`  ON SCHEDULE EVERY 5 SECOND  STARTS '2013-02-10 00:00:00'  ENDS '2015-02-28 00:00:00'  ON COMPLETION NOT PRESERVE ENABLEDO   call delete_rows_links();

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>