Diagrid
Back to all questions
Durable Execution

When should I use a simple cron job instead of durable execution for my agent workflows?

Use cron when your agent task is stateless, idempotent, and can safely restart from scratch on failure. For example, a daily data cleanup that can rerun without side effects. Choose durable execution when the agent holds in-memory state, makes multi-step decisions, or calls external APIs where partial completion would cause inconsistency.

Was this article helpful?

Your feedback helps improve Diagrid's FAQ experience.

Keep reading

More Diagrid FAQ articles

View all