Gentoo Archives: gentoo-user

From: Daniel Troeder <daniel@×××××××××.com>
To: ML Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] OT crontab not understood
Date: Mon, 09 Jan 2012 11:12:54
Message-Id: 4F0AD94A.8010407@admin-box.com
1 Hi :)
2
3 It seems I don't understand something about cron(tab). Can someone help
4 me pls:
5
6 I want to run flexbackup with the following backup plan:
7 * monthly full
8 * weekly diff
9 * daily incr
10
11 So I have installed sys-process/vixie-cron-4.1-r12 (and virtual/cron-0
12 and sys-process/cronbase-0.3.3).
13
14 My crontab (created with "crontab -e") contains:
15
16 00 03 2-31 * 1-6 /usr/bin/flexbackup -set root -level incremental
17 00 03 2-31 * 0 /usr/bin/flexbackup -set root -level differential
18 00 03 1 * * /usr/bin/flexbackup -set root -level full
19
20 The problem I'm facing is, that incr and diff are executed each day
21 _both_ at the same time (which flexbackup luckily handles well).
22
23 From my understanding the 2nd line (diff) should only be run on sundays,
24 and the 1st line (inc) should not run sundays.
25
26
27 Can someone please explain me what I'm doing wrong?
28
29 Thank you,
30 Daniel
31
32 --
33 PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
34 # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] OT crontab not understood Alan McKinnon <alan.mckinnon@×××××.com>