Skip to content
Hot eventDeveloping

Mac DarkWake disrupts scheduled AI jobs; guard script offered as fix

1 reports1 reporting sourcesUpdated 2 h ago

Start here

AI digest

Nick Riebe published a debugging write-up describing how macOS DarkWake broke his scheduled Claude Code AI jobs. DarkWake wakes a Mac for about 45 seconds every hour even with the lid closed; jobs that run past that window freeze and later resume with expired connections and timeouts. Riebe's fix was a guard script that blocks his 18 scheduled jobs unless the display is on, plus a job that re-runs skipped work every two minutes. A second bug then appeared: an always-on network-watch job retried every 10 seconds and kept restarting the skipped jobs.

Generated from reports · updated 1 h ago

Report timeline

Follow the reports to see the event from different sides.

November 18
  1. Hacker News · AI
    How DarkWake Broke Scheduled Claude Code AI Jobs on Mac

    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.

Heat for this event

Not enough continuous observations yet to draw a trend.