Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] crontab - "and' condition
Date: Thu, 18 Sep 2014 16:44:57
Message-Id: 20140918164457.GB32767@syscon7
1 I want to run a cron job only once a month. The problem is the computer is only on on weekdays Mon-Fri. 1-5
2
3 cron tab as this below is an "or" condition as it has entries in Days of the Months and Day of the Week
4
5 5 18 1 * 2 rsync -av ...
6
7 so it will run on days 1 or Tuesday of each months.
8
9 Is it possible to create "and" condition, eg. run it on Tuesday between days 1 to 7; depend on which day Tuesday falls on?
10
11 --
12 Joseph

Replies

Subject Author
Re: [gentoo-user] crontab - "and' condition Kerin Millar <kerframil@×××××××××××.uk>
Re: [gentoo-user] crontab - "and' condition Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] crontab - "and' condition "Stephan Müller" <fruktopus@×××××.com>