Re: run script on cron job only run on first Saturdat every month???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Tony Molloy wrote:
> On Tuesday 30 July 2013 22:58:34 John R Pierce wrote:
>> On 7/30/2013 2:32 PM, Keith Keller wrote:
>> > 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
<snip>

Ok, I just mentioned this to my manager, and he told me why: he said he'd
been bitten by this before, and what's happening is that the logic of cron
is odd: it's an OR, *not* and AND, so it's saying "if it's a Sat, *or* if
it's the first seven days of the month....

    mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux