diff --git a/.github/workflows/tvbox-json-monitor.yml b/.github/workflows/tvbox-json-monitor.yml index 1aa7688..864eabc 100644 --- a/.github/workflows/tvbox-json-monitor.yml +++ b/.github/workflows/tvbox-json-monitor.yml @@ -2,8 +2,8 @@ name: Monitor TVBox JSON on: schedule: - # Run every 5 minutes. GitHub-hosted schedules may be delayed under load. - - cron: "*/5 * * * *" + # Run every 12 hours at 00:00 and 12:00 UTC. + - cron: "0 */12 * * *" workflow_dispatch: permissions: diff --git a/README.md b/README.md index 1b8a9e4..5b2c385 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ https://raw.githubusercontent.com/xixu-me/tvbox-json-monitor/main/data/tvbox.jso ## 自动更新 -GitHub Actions 每 5 分钟检查一次上游配置,也支持在 Actions 页面手动触发。 +GitHub Actions 每 12 小时检查一次上游配置,也支持在 Actions 页面手动触发。定时任务使用 UTC 时间运行,当前计划为每天 `00:00` 和 `12:00` UTC。 当 `data/tvbox.json` 或 `data/tvbox.meta.json` 有变化时,工作流会提交类似下面的 commit: