Scheduler 01: The Tick Loop

A person glancing at a clock and a list of jobs: anything due now? Do it, then note when it’s next due. It sits inside the project lesson Build Your Own Distributed Scheduler - From Scratch, which lays out the six stages this build climbs.
Before you start. This series builds a small scheduler, a program whose only job is running other programs at the right moment instead of a person watching a clock. Build Your Own Distributed Scheduler - From Scratch lays out the six stages ahead; this first one is the smallest version of that idea - one loop, on one machine, with every job’s plan held in memory (the computer’s fast working space, wiped when the program stops) rather than saved to disk.