Cron Job Alternatives
The cluster discusses alternatives to traditional cron jobs for scheduling and running background tasks, frequently mentioning tools like Celery, task queues, and distributed schedulers, while debating their advantages over cron in terms of reliability and scalability.
Activity Over Time
Top Contributors
Keywords
Sample Comments
No, do it with Celery! It does everything cron can, but better.
Love the irony that while the product is trying to "Make cron jobs a thing of the past", it probably runs with one polling the scheduled messages every second to send them JIT
finally an alternative to cron.
As the CEO of DBOS I'm of course heavily biased, but I think DBOS is the perfect solution for you. It has everything you need (queues, crons, easy to understand pure Python). We'd be happy to help you through it if you get stuck. You can pop into the DBOS discord too (link on our webpage).
I was really hoping for a Chronos like job scheduler for tasks.
What's the state of the art in terms of "distributed cron" these days?
Can this be more overengineered? Wouldn’t cron jobs do the job just fine?
Yes, use a dedicated job server/process like Celery.
A distributed cron job cluster. Interesting!
I haven't had this problem, but I would consider switching to a task queue like Celery. It'll be more robust/reliable than cron, too.