迁移目录
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
INSERT INTO `la_dev_crontab` (`name`, `type`, `system`, `remark`, `command`, `params`, `status`, `expression`, `create_time`, `update_time`)
|
||||
SELECT 'CBA资讯采集', 1, 0, '从 Google News RSS 拉取 CBA 新闻并写入 CBA 分类', 'crawler', 'cba_news', 1, '20 * * * *', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM `la_dev_crontab` WHERE `command` = 'crawler' AND `params` = 'cba_news' AND `delete_time` IS NULL
|
||||
);
|
||||
Reference in New Issue
Block a user