No subject
Thu Apr 25 10:42:02 EDT 2019
can only be used for ranges, like 0-23/2 for hours. I don't see any
examples in the man pages that use the x/y format with a single number in
front.
If "fourth Monday of the month" would work for you, then you could do that
with a combination of day-of-week and day-of-month. But if you truly want
"every fourth Monday", you may have to have the crontab call a script
every Monday, which then checks whether it's the fourth Monday (using
touch files or something), and then runs the backup.
-David
On Mon, 31 Dec 2001, jbk wrote:
> I want my full backup script to run every fourth Monday and
> I thought the following sintax would do that, but this
> morning it ran again, this is the second Monday in the
> cycle.
>
> '15 4 * * 1/4 /etc/backup/backup monday
> >>/var/log/backup/tape.log'
>
> Does this syntax only work on the HOUR & DAYS_OF_MONTH
> fields? The man page doesn't say.
>
> The backup script is dependent on the DAY_OF_WEEK field, I
> could change this but it would be two weeks of testing
> again.
>
> Jim Kelly-Rand
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list