INSERT INTO `la_dev_crontab` (`name`, `type`, `system`, `remark`, `command`, `params`, `status`, `expression`, `create_time`, `update_time`)
SELECT '香港赛马会资讯采集', 1, 0, '拉取香港赛马会新闻并写入彩票资讯分类', 'crawler', 'hkjc_lottery_news', 1, '45 */2 * * *', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()
WHERE NOT EXISTS (
    SELECT 1 FROM `la_dev_crontab` WHERE `command` = 'crawler' AND `params` = 'hkjc_lottery_news' AND `delete_time` IS NULL
);
