YouTube Board

reports.mayor.static

scheduler disabled local polling disabled active command ready read-only not due now
Modern command
reports:mayor:static
Legacy command
/home/urtube/mayor/make_mayor.sh
Schedule
13 */5 * * *
每 5 小時第 13 分 read-only preview;目前 legacy cron snapshot 這行是註解狀態
Evaluation time
2026-05-26 13:03:13 Asia/Taipei
External dependency
Local DB
Write targets
none by default; scheduled/local `--execute` upserts mayor `urt_show_tag_date` cache rows
Notes
Legacy `mayor/make_mayor.sh` 會執行 `mayor/city.php days=30 city=...` 並覆寫 `/home/urtube/mayor/html_*.html`;modern command 預設是 read-only mayor static HTML preview,只列出 would-generate target 並對應到 `/mayor/cities/{city}`。Explicit/scheduled `--execute` 會用本機 `urt_video`/`urt_count`/`tags` 重建 mayor 需要的 `urt_show_tag_date` rows,但仍不覆寫 HTML 檔。

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:mayor:static --execute --limit=5 --keyword-limit=5000

Safe Commands

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

Next Runs

13 */5 * * *

  • 2026-05-26 15:13:00 CST
  • 2026-05-26 20:13:00 CST
  • 2026-05-27 00:13:00 CST
  • 2026-05-27 05:13:00 CST
  • 2026-05-27 10:13:00 CST