Mac lid-close wake causes scheduled AI tasks to fail repeatedly
Understand this story
djzidon says that macOS's DarkWake feature wakes the Mac for about 45 seconds every hour while the lid is closed and the machine is asleep, causing scheduled AI tasks to be triggered unexpectedly during unattended hours. One of his roughly 18 scheduled tasks had been repeatedly interrupted since October 8, with browser operations failing on timeout each time; he eventually used a guard script that checks the display's power state to avoid this wake window. After the fix, he also found that the network-watch task retried every 10 seconds, causing hundreds of skip records per task.
AI overview based on source reports · Updated 2 days ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIMac never sleeps: how DarkWake broke my scheduled AI jobs
The author describes how macOS DarkWake, which briefly wakes a sleeping Mac about once an hour for roughly 45 seconds, caused scheduled jobs to start during maintenance-only wake windows and then freeze when the machine slept again, producing timeouts. A guard script that only runs jobs when the display is on fixed that, but a separate always-on network-watch job that retried every 10 seconds kept restarting the skipped jobs, and it was changed to act only when the display is on and to retry only on connection changes or every 5 minutes.
Activity for this story
- Current comparable activity
- 3
- Peak comparable activity
- 10Nov 19 00:00
- Change in the past 24 hours
- -50%
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.