YouTube Board

reports.live.build

scheduler disabled local polling disabled active command ready read-only not due now
Modern command
reports:live:build
Legacy command
/usr/bin/php /home/urtube/maint/make_live.php
Schedule
*/9 0-9,15,23 * * * / */19 10-14 * * *
依時段每 9 或 19 分鐘
Evaluation time
2026-05-26 13:03:12 Asia/Taipei
External dependency
Local DB
Write targets
none by default; scheduled/local `--execute` upserts `urt_show_video_live` display cache rows
Notes
Legacy `make_live.php` 會呼叫 YouTube API 補 `urt_video` / `urt_video_live`,`show_live.php` 會寫 `urt_show_video_live` cache;modern command 預設是 read-only display-cache preview,只用本機 `urt_video_live` + `urt_video` 預覽會補哪些 display cache rows,預設不呼叫 YouTube、不寫 cache。Explicit/scheduled `--execute` 只 upsert 本機 display cache,不呼叫 YouTube。

Execution Guardrail

This job is read-only, active, command-ready, and allowed to execute when its cron expression is due. Scheduler execution still requires INGESTION_SCHEDULER_ENABLED=true.

Scheduled Local Polling

Scheduler-enabled local polling is blocked for this job until every explicit gate is satisfied.

  • INGESTION_LOCAL_POLLING_ENABLED is false.
  • Job key is not in INGESTION_SCHEDULED_WRITE_ALLOWLIST.
  • Production polling is not explicitly enabled.

reports:live:build --execute --hours=24 --limit=100

Safe Commands

php artisan ingestion:run --job=reports.live.build --at="2026-05-26 13:03:12" INGESTION_SCHEDULER_ENABLED=true php artisan ingestion:run --execute --job=reports.live.build INGESTION_SCHEDULER_ENABLED=true INGESTION_LOCAL_POLLING_ENABLED=true INGESTION_SCHEDULED_WRITE_ALLOWLIST=reports.live.build php artisan ingestion:run --execute --job=reports.live.build

Next Runs

*/9 0-9,15,23 * * *

  • 2026-05-26 15:00:00 CST
  • 2026-05-26 15:09:00 CST
  • 2026-05-26 15:18:00 CST
  • 2026-05-26 15:27:00 CST
  • 2026-05-26 15:36:00 CST

*/19 10-14 * * *

  • 2026-05-26 13:19:00 CST
  • 2026-05-26 13:38:00 CST
  • 2026-05-26 13:57:00 CST
  • 2026-05-26 14:00:00 CST
  • 2026-05-26 14:19:00 CST