YouTube Board

youtube.comments.queue

scheduler disabled local polling disabled active command ready read-only not due now
Modern command
youtube:comments:queue --or=1,2,3,4,5,6,13,14,81 --hours=72 --min=500
Legacy command
/usr/bin/php /home/urtube/maint/make_comments.php or=1,2,3,4,5,6,13,14,81 hours=72 min=500
Schedule
23 4,10,16 * * *
04:23、10:23、16:23
Evaluation time
2026-05-26 17:26:10 Asia/Taipei
External dependency
Local DB
Write targets
none by default; manual local-only `--execute` inserts `urt_comment_queue`
Notes
Legacy 會用 `urt_count.tags` 篩頻道,再找 `urt_video.publishedAt` 在指定 hours 內且 `viewCount/commentCount` 都超過 min 的影片,若不在 `urt_comment_queue` 就 insert queue row。Modern command 預設仍只列出 would-queue videos;manual local-only `--execute --limit` 會 idempotently 插入本機 `urt_comment_queue`。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:comments:queue --or=1,2,3,4,5,6,13,14,81 --hours=72 --min=500 --execute --limit=1

Safe Commands

php artisan ingestion:run --job=youtube.comments.queue --at="2026-05-26 17:26:10" INGESTION_SCHEDULER_ENABLED=true php artisan ingestion:run --execute --job=youtube.comments.queue INGESTION_SCHEDULER_ENABLED=true INGESTION_LOCAL_POLLING_ENABLED=true INGESTION_SCHEDULED_WRITE_ALLOWLIST=youtube.comments.queue php artisan ingestion:run --execute --job=youtube.comments.queue

Next Runs

23 4,10,16 * * *

  • 2026-05-27 04:23:00 CST
  • 2026-05-27 10:23:00 CST
  • 2026-05-27 16:23:00 CST
  • 2026-05-28 04:23:00 CST
  • 2026-05-28 10:23:00 CST