查看定时任务
SELECT * FROM information_schema.events
关闭定时任务
DROP event wlzx_cosignorData_bak_clean_event;
执行mysql语句 DO后是需要执行的sql
每天凌晨0点执行
CREATE EVENT IF NOT EXISTS wlzx_cosignorData_bak_clean_event
ON SCHEDULE EVERY 1 DAY STARTS DATE_ADD(DATE_ADD(CURDATE(), INTERVAL 1 DAY), INTERVAL 0 HOUR)
ON COMPLETION PRESERVE ENABLE
DO delete from liukl_wlzx_cosignorData_bak;
每隔一分钟执行
CREATE event IF NOT EXISTS temp_event ON SCHEDULE EVERY 1 MINUTE
ON COMPLETION PRESERVE
DO update users set support=0 where support=1;
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。