INSERT INTO `la_dev_crontab`
(`name`, `type`, `system`, `remark`, `command`, `params`, `status`, `expression`, `create_time`, `update_time`)
SELECT
    '赛事直播流抓取',
    1,
    0,
    'Docker crawler 每分钟抓取赛事直播线路播放地址',
    'crawler',
    'match_live_stream',
    1,
    '* * * * *',
    UNIX_TIMESTAMP(),
    UNIX_TIMESTAMP()
WHERE NOT EXISTS (
    SELECT 1
    FROM `la_dev_crontab`
    WHERE `command` = 'crawler'
      AND `params` = 'match_live_stream'
      AND `delete_time` IS NULL
);
