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: William McCallum on Nov 13, '03 12:24:12PM

No, Anacron runs its jobs soon after waking up, if they haven't yet been run for that day (or week, or month). I believe it uses the delay set in the "delay" colum of the file anacrontab (although I've never actually checked that).



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

Yes, it runs jobs when the machine wakes up, but that doesn't mean you have a higher granularity than a day, it won't run jobs unless it's been at least 24 hours since the last time it ran.

There is no way for you to specify with anacron for things to be run at a specific time, just that they be run at least every N days.



[ Reply to This | # ]