Cron vs Queue vs Event: Choosing the Right Trigger
How time, work, and causality shape execution—and how to choose without creating debt
Feb 1, 20266 min read2

Search for a command to run...

Series
A practical series exploring cron from core concepts and architecture to real-world Yii & HumHub implementations, focusing on background jobs, queues, scheduling tradeoffs, and how time-based systems behave in production.
How time, work, and causality shape execution—and how to choose without creating debt

How to design cron jobs that survive retries, overlaps, and partial failures

Why scheduled jobs quietly fail—and how to design systems that don’t trust time blindly

How cron fits into modern systems—and how to evolve without tearing it out

What broke, what surprised me, and how real constraints reshape “best practices”

How a real Yii & HumHub system scheduled work under real operational constraints
