On Fri, Nov 13, 2009 at 07:32:16PM +0000, Chris Dennis wrote: > 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. > > If the "second Friday of the month" option is the best available, should > rsnapshot run a cycle of 4 weekly backups or 5?
I'm afraid the answer is "both". Cron won't allow you to do something on a period of a fixed number of weeks, and the somewhat gimcrack calendar system we use ensures that for any chosen weekday, you're likely to get about four or five months a year with five of them in. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Nostalgia isn't what it used to be. ---
signature.asc
Description: Digital signature
-- Please post to: [email protected] Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------
