---
title: "Comment by Olivia on \"Why Your Mac's Scheduled Jobs Don't Run When the Lid Is Closed\" | Hashnode"
description: "The wildcard gotcha is the one that would have caught me — setting only Hour and getting a run every minute of that hour. The stamp-file-after-success tip is a"
url: "https://hashnode.com/posts/why-your-mac-s-scheduled-jobs-don-t-run-when-the-lid-is-closed-2lrqn/6b1267e7e97d8d47580cab26/comment/6b12dffcdb35cb89c5a5daaf"
---

[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)

[Olivia](https://hashnode.com/@oliviacreates)

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

The wildcard gotcha is the one that would have caught me — setting only Hour and getting a run every minute of that hour. The stamp-file-after-success tip is a good one too; a failed late run shouldn't count as done.

[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/6b12dffcdb35cb89c5a5daaf#reply-6b12e11d042ddc443fd875b6)

Exactly. The wildcard behavior is easy to overlook because the configuration still looks valid at first glance. And the completion stamp should only be written after the backup finishes successfully. Otherwise, a failed run can silently make the next attempt think everything is already done.
