Peter Salisbury wrote: > 2009/11/13 Chris Dennis <[email protected]>: >> Peter Salisbury wrote: >>> Use anacron? From the man page: >>> >>> Anacron can be used to execute commands periodically, with a frequency >>> specified in days. Unlike cron(8), it does not assume that the machine >>> is running continuously. Hence, it can be used on machines that aren't >>> running 24 hours a day.. >>> >>> HTH, Peter >> Thanks for that. What I didn't mention before is that the machine IS >> running full-time, but the external USB drive that rsnapshot backs up to >> gets taken away at the weekends. So I always want to run it on a weekday. >> > > Anacron still works even if the machine is on all the time, it's just > that it doesn't NEED it to be. The advantage is that 'every fourth > week' is actually the same as 'every 28 days' which anacron can handle > with no problem. > > ATB, Peter > Aha! I didn't realise that anacron could do that -- I thought it was just a way of catching up with cron jobs.
Thank you -- I can probably achieve what I want with that. cheers Chris -- Chris Dennis [email protected] Fordingbridge, Hampshire, UK -- Please post to: [email protected] Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------
