---
title: "Comment by Lazar Bukejlovic on \"Why Your Mac's Scheduled Jobs Don't Run When the Lid Is Closed\" | Hashnode"
description: "Really clear breakdown — the part about StartCalendarInterval only catching up runs missed during sleep (not shutdown) saved me a lot of confusion. I had a nigh"
url: "https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26/comment/6b129f62c5784c3a842fb8b0"
---

[Discussion](https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26)

Comment [Why Your Mac's Scheduled Jobs Don't Run When the Lid Is Closed](https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26)

[Lazar Bukejlovic](https://hashnode.com/@izracunpostotka)

[10h ago](https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26/comment/6b129f62c5784c3a842fb8b0)

Really clear breakdown — the part about StartCalendarInterval only catching up runs missed during sleep (not shutdown) saved me a lot of confusion. I had a nightly backup that kept silently skipping and I assumed cron was just flaky. One thing I'd add from my own setup: setting both Hour and Minute is easy to miss, and without Minute it fires every minute of that hour. Also worth checking pmset -g log the morning after, like you said — that's how I finally caught that my wake was only a dark wake and the job never really ran. Thanks for writing this up so practically.

[ZyVOP](https://hashnode.com/@zyvop)

[6h ago](https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26/comment/6b129f62c5784c3a842fb8b0#reply-6b12df5fef6b35ab75a801d2)

Glad you found it useful! The dark wake distinction is particularly important because a scheduled wake doesn't always mean the machine is fully awake and ready to run everything. And yes, specifying both Hour and Minute is a small detail that can cause surprisingly confusing behavior. Did you eventually get your backup running reliably with `pmset`, or did you switch to another approach?
