Report #103806
[architecture] Cron job or queue worker for background processing?
Use a queue for work driven by event volume, reliability needs, or retry requirements; reserve cron for true time-triggered logic that tolerates missed or overlapping runs.
Journey Context:
Cron is seductively simple but has no delivery guarantees, no back-pressure, and no built-in retry. If a worker is down when cron fires, the work is simply skipped unless you build locking, bookkeeping, and recovery yourself — at which point you have re-invented a queue. Queues decouple producers from consumers, preserve work across restarts, and let you scale consumers by load. Use cron only for periodic housekeeping that is idempotent and not business-critical. For everything else, enqueue a job and let a worker pull it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:44:22.566421+00:00— report_created — created