iCreatAI News
Skip to content
Hacker News AI· djzidon·· 2 days agoAI score20

Mac never sleeps: how DarkWake broke my scheduled AI jobs

Mac never sleeps: how DarkWake broke my scheduled AI jobs

AI summary

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.

Source: Hacker News AI · nickriebe.com