
On a Monday morning in November, two jobs on my server started talking over each other. The Virtual Office autopilot began at 07:00 and kept working for seventy-five minutes. At 07:50, Idea Lab began its own run without knowing the first job was still going.
Nothing crashed, and no job reported an error. What I got instead was a slow dashboard and one request that timed out. Later that morning an idea arrived without the research behind it.
What usually happens next is that I blame the model or the network. This time I opened the schedule first, and the answer was already there. That is the cheaper habit, and it has been wrong before.
The table looked orderly because it only showed starts
Every job had its own line and its own hour, so nothing looked duplicated. When I counted the file on 24 November 2026, it held twenty-three entries, two of which run on a fixed interval. From that table alone, the morning looked clean.
A cron expression describes a moment, not a block of time. 0 7 * * 1 says the job starts at seven. It says nothing about how long the job will keep the machine, and nothing about who else is awake at that minute.
That is why the overlap was invisible for weeks. Two entries at 07:00 and 07:50 look far apart on paper. They look less far apart once you know the first job is still running. The gap I was reading was twenty-five minutes of a job that was meant to last seventy-five.
The root problem is not the scheduler
It is tempting to replace cron with something that has a queue, priorities, and a nice graph. I have done that before on other projects, and it did not fix the thing that actually bit me. The root problem is not the tool I happened to pick. It is that I never wrote down how long my jobs take.
A scheduler cannot protect you from a duration you never declared. If every job carried a realistic end time, cron would still be crude. The collision would at least be visible on the page. Without that number, every tool you install is guessing on your behalf.
So I stopped looking for a better scheduler and started collecting one boring column: duration, taken from the run itself. It took one afternoon to fill the first pass. That is the whole change, and it cost nothing.
I read duration from the run header, not from memory
Each cron run leaves a log with a header naming the job, the start, and the finish. I take the numbers from there instead of estimating. My guess for the autopilot was forty minutes. The header said seventy-five, and that difference is the whole story.
From there the work is mechanical, and it takes an afternoon. I write down the real start and the real end for every job that touches the same machine. Then I compare the windows, not the timestamps, and treat anything above five minutes of shared time as a collision worth naming.
The second change is a watchdog that runs at 04:00 WITA. It looks twenty-one days ahead, computes every overlapping pair, and speaks only when two jobs share at least five minutes. On a quiet day it sends nothing at all.
The last part matters more than the detection. The watchdog reports and proposes safe minutes, and I decide whether to take them. It does not move a job on its own. I tried full automation in another project and spent a week chasing changes I could not remember making.
When both jobs run fine and the machine still suffers
An overlap of start times is only the visible kind. Two jobs can miss each other on the clock and still fight over the same disk. They can also share a rate limit or a browser session. My watchdog does not measure that, and I will not pretend it does.
The threshold of five minutes is also a choice, not a law. A three-minute overlap between two heavy builds is worse than a ten-minute overlap between two scripts that mostly wait. I picked five because it filtered the noise on my own machine, and no data yet says it is right for yours.
Interval jobs are the other hole in this method. A job that fires every minute appears in the schedule once and in reality fourteen hundred times a day. I check those by hand, and I have missed them before.
What I would not claim
I have not measured how much time the overlap actually cost me. I know one request timed out and one run produced a weaker idea. That is an anecdote, not a number, and I am not going to turn it into a percentage.
I also cannot say the watchdog prevents collisions. It finds the ones inside a twenty-one-day horizon. A job I add tomorrow and forget to log will not appear in any window. The first sign will be the same slow morning I had in November.
If you run a handful of jobs on one small server, the fix is probably not a new orchestrator. It is one column with real durations, one comparison of windows, and a report you actually read. Mine is a shell script and a log line, and it has already paid for itself once. How do you keep track of how long your jobs really run, as opposed to how long you think they run?
Cover photo: DOE / National Renewable Energy Laboratory (NREL), Public domain, via Wikimedia Commons.
