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


Click here to return to the 'Automatically change network locations with a cron job' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically change network locations with a cron job
Authored by: turkchgo on Nov 13, '03 01:07:54PM

So how does Apple handle this for the maintenance tasks on notebooks? I've noticed that most the cron jobs Apple uses to roll logs and cleanup the UNIX output are set to run at specific times of the month, week and day and usually early in the morning or late at night. If you have an iBook, like I do, and you almost never have the thing running for more than a few daytime hours at a time, how and when do these things get executed? Or is it advisable to one day a month let your iBook run and not sleep overnight?



[ Reply to This | # ]
Automatically change network locations with a cron job
Authored by: housemaister on Nov 13, '03 01:26:03PM

You can use anacron to run these scripts in the 'necessary' periods. You can also use XJanitor, a perl script, for doing this.



[ Reply to This | # ]
Automatically change network locations with a cron job
Authored by: rammjet on Nov 13, '03 03:27:47PM

They DON'T get run. That is why there are so many 3rd party utilities to either run the CRON jobs manually or to reset the times to when the user might be running the computer.



[ Reply to This | # ]
Automatically change network locations with a cron job
Authored by: encro on Nov 14, '03 08:44:11AM

You can do it any time you feel by typing one of the following into the terminal:

sudo periodic daily

sudo periodic weekly

sudo periodic monthly



[ Reply to This | # ]