perl scripts and sleep

  1. Is there anyway for a long running script to prevent the system from going to sleep?

    Stephen

  2. When I run a long running perl script and go away for awhile, when the computer goes to sleep (power save or whatever you call it) it seems like the perl script is also suspended until I wake the machine up. Is this how things actually behave on OX X 10.3.9?

    Stephen

  3. Yes. When the system goes to sleep, everything except standby power for the memory is turned off.

    Bob Harris

  4. You could have your script use 'pmset' to change the sleep settings.

    I would suggest you go over to http://MacOSXHints.com and do some searching. This is just the kind of thing they like to do over there.

    Bob Harris

Power Manager - automation and energy saving software for Mac OS X

Download Power Manager and start saving.