Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Mac Notebooks > Cron Jobs and PowerBook

Cron Jobs and PowerBook
Thread Tools
Mac Elite
Join Date: Jul 2003
Status: Offline
Reply With Quote
Dec 19, 2003, 02:12 PM
 
I've been told that OS X's nightly cron jobs will only run if my computer is not only on, but awake. Does that mean I have to keep the PowerBook awake all night? Why would Apple design it this way? It doesn't make sense to me.
     
Senior User
Join Date: Jan 2002
Location: Laurentia
Status: Offline
Reply With Quote
Dec 19, 2003, 02:58 PM
 
Sense or no, this is how it works...

Apple KB article.
     
Professional Poster
Join Date: May 2000
Location: Urbandale, IA
Status: Offline
Reply With Quote
Dec 19, 2003, 08:10 PM
 
If you look through 'em, the cron jobs don't do all that much that's terribly important; mostly just log file rotation/deletion and the occasional locate.db update.
"Yields a falsehood when preceded by its quotation" yields a falsehood when preceded by its quotation.
     
Senior User
Join Date: Nov 2002
Status: Offline
Reply With Quote
Dec 19, 2003, 08:48 PM
 
Sherman, set the Way-Back machine to the time when unix machines filled rooms and ran 24/7. Maintenance was scheduled at lowest system load - at night.

If you want your maintenance to run on a laptop, you might try anacron. Or just adjust your system crontab so your jobs will run when your computer will be on. Or just manually run the jobs.

Hope it helps.
Happily using a Mac since '89
MacPortable: 16Mhz 1meg/40meg System 6.0.8 - 16lbs Yeah baby!
Powerbook 17" 1.33Ghz 2GB/100GB 8x Superdrive
Powerbook 12" 867Mhz 1.125GB/80GB 2xDVD-R RPC1
MacbookPro 17" 2.33Ghz
     
Mac Elite
Join Date: Sep 2001
Location: Santa Monica, CA
Status: Offline
Reply With Quote
Dec 21, 2003, 05:11 PM
 
but if you don't want to run the machine overnight, you could run the cron jobs manually with MacJanitor or automagically later in the day after waking the computer with Macaroni ...
     
Senior User
Join Date: Nov 2002
Status: Offline
Reply With Quote
Dec 21, 2003, 05:55 PM
 
Originally posted by brachiator:
but if you don't want to run the machine overnight, you could run the cron jobs manually with MacJanitor or automagically later in the day after waking the computer with Macaroni ...
Anacron is for the budget conscious while Macaroni is shareware. As for MacJanitor, it is good program for those who dislike the terminal, but it is not exactly difficult to execute the scripts. sudo periodic daily weekly monthly will do it. Or, as I suggested perviously, just change your system crontab so it will run during the day.
Happily using a Mac since '89
MacPortable: 16Mhz 1meg/40meg System 6.0.8 - 16lbs Yeah baby!
Powerbook 17" 1.33Ghz 2GB/100GB 8x Superdrive
Powerbook 12" 867Mhz 1.125GB/80GB 2xDVD-R RPC1
MacbookPro 17" 2.33Ghz
     
Mac Elite
Join Date: Jul 2003
Status: Offline
Reply With Quote
Dec 21, 2003, 06:15 PM
 
Originally posted by Tomster:
Or, as I suggested perviously, just change your system crontab so it will run during the day.
This is what I plan to do. Can any other applications be running (Mail, Safari) when the cron jobs run? Or is it best to quit everything first?
     
Senior User
Join Date: Nov 2002
Status: Offline
Reply With Quote
Dec 21, 2003, 07:09 PM
 
Originally posted by voyageur:
This is what I plan to do. Can any other applications be running (Mail, Safari) when the cron jobs run? Or is it best to quit everything first?
Everything can be running. If you are not familiar with the terminal, you can change the timing of your scripts with CronniX. Have fun.
Happily using a Mac since '89
MacPortable: 16Mhz 1meg/40meg System 6.0.8 - 16lbs Yeah baby!
Powerbook 17" 1.33Ghz 2GB/100GB 8x Superdrive
Powerbook 12" 867Mhz 1.125GB/80GB 2xDVD-R RPC1
MacbookPro 17" 2.33Ghz
     
Mac Elite
Join Date: Jul 2003
Status: Offline
Reply With Quote
Dec 21, 2003, 07:54 PM
 
Thanks.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2