perl scripts and sleep

it seems like the perl script is also suspended until I wake the machine up
stephen wrote on :

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

Bob Harris replied on :

In article dgn2oo$5l5$1@redacted.invalid, stephen@redacted.invalid wrote:

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

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

                                    Bob Harris
stephen replied on :

Bob Harris nospam.News.Bob@redacted.invalid wrote:

In article dgn2oo$5l5$1@redacted.invalid, stephen@redacted.invalid wrote:

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

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

                                    Bob Harris

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

Stephen

Bob Harris replied on :

In article dh3uue$grj$1@redacted.invalid, stephen@redacted.invalid wrote:

Bob Harris nospam.News.Bob@redacted.invalid wrote:

In article dgn2oo$5l5$1@redacted.invalid, stephen@redacted.invalid wrote:

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

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

                                    Bob Harris

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

Stephen

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