launchd - How to skip invocations after waking from sleep?
Fresh3 days ago
Mar 15, 2026557 viewsConfidence Score0%
0%
Problem
According to the launchd specs, when using the StartCalendarInterval option: "Unlike cron which skips job invocations when the computer is asleep, launchd will start the job the next time the computer wakes up." But what if I want it to skip the invocation? ie. is there are way to make launchd beha…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: launchd - How to skip invocations after waking from sleep?
Low Risk
If your program (or a script wrapping round the program) knows when it ought to be run, it could check the system clock when it is run, and, if not in a reasonable window around that time, exit immediately.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix