Gentoo Archives: gentoo-user

From: "Florian Gamböck" <ml@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cron - once a month during week days
Date: Thu, 05 Feb 2015 19:35:27
Message-Id: 54D3C5F6.3030101@floga.de
In Reply to: [gentoo-user] cron - once a month during week days by Joseph
1 Hi Joseph!
2
3 Am 05.02.2015 um 20:19 schrieb Joseph:
4 > I have a cron tab entry:
5 > 8 12 1-7 * 1 rsync ...
6
7 From `man 5 crontab`:
8
9 Note: The day of a command's execution can be specified by two fields —
10 day of month, and day of week. If both fields are restricted (ie,
11 aren't *), the command will be run when _either_ field matches the
12 current time. For example, ``30 4 1,15 * 5'' would cause a command to
13 be run at 4:30 am on the 1st and 15th of each month, plus every Friday.
14
15 That means, in your case, that your rsync will run every day from the
16 first to the seventh of each month, plus every Monday.
17
18 Greetings
19 --Flo