Re: cron questions
Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
> [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). Then your crontab can simply be: 00 00 * * * backup.pl && cleanup.pl Bng