Skip to content
Hacker News · AI·· 2 h agoAI score20

How DarkWake Broke Scheduled Claude Code AI Jobs on Mac

Mac never sleeps: how DarkWake broke my scheduled AI jobs

AI summary

A Mac's DarkWake feature wakes the machine for about 45 seconds every hour even with the lid closed, and scheduled jobs that overrun that window freeze and resume with expired connections and timeouts. The author's fix was a guard script that blocks the 18 scheduled jobs unless the display is on, plus a job that re-runs skipped work every 2 minutes. A second bug then surfaced: an always-on network-watch job retried every 10 seconds and kept restarting the skipped jobs.

Source:Hacker News · AI · nickriebe.com