Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Run cron from sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run cron from sleep
Authored by: mattegan on Mar 10, '02 06:55:27AM

You can have your Mac wake from sleep and run the crontab.

Open your System Preferences
Select the Enegy Saver
Click on the Option tab
Select 'Wake for network Administrative Access'

This will let your cron shell script run at 3AM ;-)

Also - you could download and install CronniX 1.5
This is a great GUI to edit the times when it runs the scripts.



[ Reply to This | # ]
what about laptops?
Authored by: JazzDude on Mar 10, '02 01:10:58PM

will these scripts run on an iBook with the lid closed? i found that every time i wake up the thing by moving the mouse it immediately goes back to sleep (as you can tell by the pulsating light).



[ Reply to This | # ]
No options tab...
Authored by: rusto on Mar 11, '02 08:20:20AM
...on my EnergySaver pref panel, see screenshot here. I'm running 10.1.3 on a G3/350.

[ Reply to This | # ]
Run cron from sleep
Authored by: genecutl on Mar 11, '02 11:51:31AM

I do have "Select 'Wake for network Administrative Access'" checked, but cron wasn't running which is why I made my perl script.

I did come across Cronnix which looked like it did the same thing, but I always prefer a 3-line perl script to a $15 shareware product. In fact, when you can get the job done with a 3-line perl script why look for anything else?



[ Reply to This | # ]
Run cron from sleep
Authored by: sven on Mar 21, '02 03:30:02PM

Hm, CronniX is freeware :-)



[ Reply to This | # ]
Run cron from sleep
Authored by: zarf on Mar 17, '02 07:45:13PM

Um, changing the wake for network administrative access setting has never worked for me to make run the cron scripts.



[ Reply to This | # ]