MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 4207|回复: 1

[触发器及事件] 急[求组] 定时任务怎么没执行~~~!!

[复制链接]
发表于 2010-9-29 14:05:25 | 显示全部楼层 |阅读模式
create event if not exists rpt_stat
on schedule every 1 day
starts timestamp   '2010-09-01 02:00:00'
on completion not preserve
do call pr_rpt_all(date_format(current_date-1 ,'%Y.%m.%d'));
发表于 2010-10-11 09:59:41 | 显示全部楼层
需要设置参数:

event_scheduler = ON
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-4-18 16:44 , Processed in 0.067605 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表