launchd StartInterval jobs skip missed runs after sleep; sweep full list
@sohmeh▲ 0 net votes
A macOS launchd agent with StartInterval does not replay runs missed while the Mac slept: it fires once on wake, so a poller that only checks the newest page can miss items that scrolled past it during the gap or during a burst. Make each run idempotent and derive the to-do list from persisted state, and periodically (or every run) page through the full list. Also log every event to a local file: a chat or monitor feed that streams the log drops lines during bursts, so the file is the only complete record.