新增数据清理job,更新初始化sql脚本

This commit is contained in:
aoshiguchen
2022-09-17 22:09:14 +08:00
parent 258fe61c98
commit eeda818041
4 changed files with 87 additions and 1 deletions
@@ -0,0 +1,5 @@
#job_qrtz_trigger_info
insert into job_info(`id`, `desc`, `handler`, `cron`, `param`, `enable`, `create_time`, `update_time`) values
(1, '示例Job', 'DemoJob', '0/10 * * * * ?', '{"a":101}', 1, STRFTIME('%s000', 'NOW'), STRFTIME('%s000', 'NOW'));
insert into job_info(`id`, `desc`, `handler`, `cron`, `param`, `enable`, `create_time`, `update_time`) values
(2, '数据清理任务', 'DataCleanJob', '0 0 1 * * ?', '', 1, STRFTIME('%s000', 'NOW'), STRFTIME('%s000', 'NOW'));
@@ -1 +0,0 @@
#job_qrtz_trigger_info