Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Hey I had the same problem, I built a Cocoa solution using the IOPowerManager interface, dailyWakeup. When periodic daily then runs I have it requeue a request for the next day. I also wrote a GUI interface to the timer queue ( Cocoa based). My main problem is that when I wake the box up, it won't stay awake very long, just three or four minutes even though the energy saver panel is set for 15 minutes. Details at: http://homepage.mac.com/levanj/Cocoa --Jerry
    • Yes, I just saw that yesterday. I was going to ask you if you know why I would have something scheduled for wakeup, that sometimes it won't wake up at all.
      • If you look at the system log, I bet it will show the wakeup did take place, it probably went back to sleep before the task fired. I find that I have to fiddle a bit to get the wakeup close enought to task time. Cron only checks one a minute... Jerry
        • No, I had the wakeup scheduled hours before it went to sleep, then it went to sleep, and it never woke up hours later, when it was scheduled to.
          • This morning I had a wakeup scheduled for about 3:13:45 am
            this was in my system log.
            Apr 27 03:15:02 macjerry syslogd: restart
            Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoWake 0x00000000
            Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoPower 0x00000000
            Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoWake 0x00015123
            Apr 27 03:15:03 macjerry osascript: LaunchApplication(/System/Library/CoreServices/System Events.app)
            Apr 27 03:15:59 macjerry /u
            • I'll get back to you hopefully tomorrow ... I am setting it to wake up at 2:55 a.m. tomorrow. My cron job runs every 15 minutes to set it.
              [pudge@thornton pudge]$ date; pmset -g sched
              Tue Apr 27 19:27:03 PDT 2004
              No scheduled events.
              [pudge@thornton pudge]$ date; pmset -g sched
              Tue Apr 27 19:35:39 PDT 2004
              Scheduled power events:
                wake at 4/28/2004 2:55:00AM by wake.plx