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 > Software - Troubleshooting and Discussion > Mac OS X > missed Cron jobs

missed Cron jobs
Thread Tools
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Online
Reply With Quote
Jan 20, 2003, 09:42 PM
 
Is there a way to have cron automatically "catch up" on jobs it may have missed while my machine was asleep?

(I'm speaking of my own crontabs, not the Apple system crontabs)....
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Jan 20, 2003, 11:41 PM
 
If you use Fink, there's a program called anacron that does just this. Unfortunately I don't think there are any installers for it except through Fink, but if you know how to use that, you're all set. It's completely automatic, so it's basically install-and-forget.

From the Terminal, once you have Fink installed, it's just fink install anacron
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 21, 2003, 02:31 AM
 
Otherwise MacJanitor can be used to manually do it.

It all depends on if you want to go the extra step and make sure it's always taken care of, or just do it when you remember to.
     
Mac Enthusiast
Join Date: Jan 2002
Location: Trondhjem, Norway
Status: Offline
Reply With Quote
Jan 21, 2003, 08:10 AM
 
Originally posted by Xeo:
Otherwise MacJanitor can be used to manually do it.

It all depends on if you want to go the extra step and make sure it's always taken care of, or just do it when you remember to.
MacJanitor is nice, but there doesn't seem to be any .out file produced (at least not for all of the jobs). Of course, that may not mean anything. But I found it annoying enough to begin using the command-line instead: 'sudo periodic weekly', etc.
     
   
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 07:34 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