I run about twenty scheduled jobs on a laptop. They read my mail, file notes, refresh a few dashboards and check on each other. In September I moved all of them to a new machine and set them up again, and the first audit after the move came back clean, every job on time.

A week later nothing ran from Saturday morning at 6:12 until Monday morning at 8:27. That is about fifty hours. The laptop was on and awake the whole time.

I did not find out from an alert. I found out from the next weekly audit, which scored the same thing it had scored clean the week before and got zero.

The audit could not tell me why. It could tell me that nothing had fired, and it had a theory, but it could not confirm it from what it could see, and I left it as an open question, which I should not have, because the following weekend it happened again, from Friday at 5:01 in the afternoon until Monday at 8:29.

The cause was in the app’s own log the whole time, I just had not looked there. The scheduler will only run three jobs at once. Three of mine had each reached a step where they wanted to run a command they had not been approved for, and so each one was sitting there waiting for a person to click yes. There was no person. With all three slots held, the log has the same line once a minute through the entire weekend, saying it is skipping the next job because three are active and the limit is three.

On Monday morning I opened the laptop, the three prompts got their answer at 8:28, and everything that had been queued behind them ran in a burst.

Two things about this bothered me more than the outage did.

The first is that the scheduler had been marking stalled runs as succeeded. A run that started, got to a prompt and sat there counted as a run. So the place I would normally look to see whether a job ran was telling me it had.

The second is why I heard nothing. I had a watchdog job whose whole purpose was to notice when other jobs did not run, and a second job that raised the alarm. Both of them were scheduled jobs on the same scheduler. When it stopped, they stopped with it. I had actually written this down as a risk a month earlier, after a different incident, and then when I moved machines I put the alarm right back onto the layer it was supposed to be watching.

What I changed is small. There is now one check that does not run inside that scheduler at all. It is a plain Windows task that runs every two hours, reads the app’s log, and sends a message to my phone if the scheduler has been skipping jobs for more than an hour or if nothing has started in twelve. I am also rebuilding the jobs that stall this way, one at a time, so that each one runs a single fixed command that is approved ahead of time and does everything else without the shell. A few are done.

It still does not cover the case where the whole laptop is off. I built a second watcher for that, one that runs in the cloud and checks whether the laptop has reported in, and on its first run it could not reach the service it needed because of a network policy. It is switched off.

The first audit that scored everything on time was correct. Every job had run on time that week.

■