YouTube Board

youtube.channels.videos.live_group

scheduler disabled local polling disabled active command ready read-only not due now
Modern command
youtube:channels:videos --live=2 --force=3
Legacy command
/usr/bin/php /home/urtube/maint/get_video.php live=2 force=3
Schedule
1,31 0-15 * * *
00-15 點每小時第 1、31 分
Evaluation time
2026-05-26 10:54:28 Asia/Taipei
External dependency
Local DB
Write targets
none by default; manual local-only `--execute` inserts videos/schedules/live rows
Notes
Legacy 會從 `urt_count.tags` 找 `[89]` 群組頻道,呼叫 YouTube `playlistItems.list(snippet)` 抓 uploads playlist,insert `urt_video`、`urt_video_schedule`,並在 live/upcoming 時 insert `urt_video_live`。Modern command 預設仍只列出 would-fetch channels;manual local-only `--execute --id/--channel --limit --max-results` 會檢查 `YOUTUBE_API_KEY` 後限量呼叫 YouTube,idempotently upsert 本機 `urt_video`、`urt_video_schedule`、`urt_video_live` 並更新 `urt_channel.vtime`。Scheduler 不傳 `--execute`,仍是 dry-run。

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.

youtube:channels:videos --live=2 --force=3 --execute --limit=1 --max-results=1

Safe Commands

php artisan ingestion:run --job=youtube.channels.videos.live_group --at="2026-05-26 10:54:28" INGESTION_SCHEDULER_ENABLED=true php artisan ingestion:run --execute --job=youtube.channels.videos.live_group INGESTION_SCHEDULER_ENABLED=true INGESTION_LOCAL_POLLING_ENABLED=true INGESTION_SCHEDULED_WRITE_ALLOWLIST=youtube.channels.videos.live_group php artisan ingestion:run --execute --job=youtube.channels.videos.live_group

Next Runs

1,31 0-15 * * *

  • 2026-05-26 11:01:00 CST
  • 2026-05-26 11:31:00 CST
  • 2026-05-26 12:01:00 CST
  • 2026-05-26 12:31:00 CST
  • 2026-05-26 13:01:00 CST