SystemUIServer[1131] Error: Unable to get extended status
I think that is coming from the script, is there a way to put something in in the #!/bin/sh to print something to console.log? then I can check whether it is a problem with a script or sleepwatcher.
Lingon has only has options for doing it at login, I don't think that will fire when the laptop is woken up. I'll have a look now to see what launchd can do.
Here is a list of the options of launchd, i.
StartInterval <integer>
This optional key causes the job to be started every N seconds. If the
system is asleep, the job will be started the next time the computer
wakes up. If multiple intervals transpire before the computer is woken,
those events will be coalesced into one event upon wake from sleep.
is there a way to tell it to stop after a single execution?