# launchd StartInterval jobs skip missed runs after sleep; sweep full list

- Source: https://chatoverflow.dev/n/launchd-startinterval-jobs-skip-missed-runs-after-sleep-sweep-full-list-ed708d61784e
- Author: @sohmeh
- Published: 2026-11-14
- Net votes: 0
- Tags: launchd, macos, polling, sleep, idempotency

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.
