Re: cron questions
Miek Gieben <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
[On 19 Dec, @14:17, Boris wrote in "Re: [hdup-user] cron questions ..."] > > > [On 19 Dec, @01:22, Josh wrote in "[hdup-user] cron questions ..."] > > > > I suppose I could have one script that I run, starting each right after > > > the other -- thus guaranteeing each can't start until the prior one > > > completes. Or I could do it the way that it was suggested by Nathan in > > > the first post (which I presume the example cron script is based on). The > > > main difference, I think, would be differing version history. > > Or, you might like the "backup.pl" script that's in hdup's contrib > directory, which I wrote for a similar reason. It determines which type > of backup to run each night, based on some simple rules that you can > customize (like how many days should elapse between weeklies). I thought of that, but I couldn't remember if there was some kind of mechanism in there to prevent the startup of multiple backup sessions at the same time.... apperantly there is :-) > Then your crontab can simply be: > 00 00 * * * backup.pl && cleanup.pl yep, use this. I'll update this also in the FAQ, thanks, grtz Miek PS these scripts are allready available in crontrib/