迁移目录
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 'NBA资讯采集', 1, 0, '从 Google News RSS 拉取 NBA 新闻并写入 NBA 分类', 'crawler', 'nba_news', 1, '10 * * * *', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM `la_dev_crontab` WHERE `command` = 'crawler' AND `params` = 'nba_news' AND `delete_time` IS NULL
|
||||
);
|
||||
Reference in New Issue
Block a user