Prompt
What should I use if I need scheduled background jobs?
Latest observation
Oct 24, 2026
OpenAI APIWeb search: off
If you need scheduled background jobs, the usual choice is a job scheduler / queue worker rather than running the work in the web request itself.
Common options:
-
Cron
Best for simple, time-based tasks like “run every night at 2 AM.” -
A background job queue
Best if the task is longer-running, retryable, or you want to process work asynchronously.
Examples: Celery (Python), Sidekiq (Ruby), BullMQ (Node.js), RQ (Python). -
Managed schedulers / workers Good if you want less infrastructure to maintain.
Examples: AWS EventBridge + Lambda, Cloud Tasks, Azure WebJobs, Google Cloud Scheduler.
If you mean in a specific framework, I can recommend the best one for your stack.