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]



On 2013-07-30, m.roth@xxxxxxxxx <m.roth@xxxxxxxxx> wrote:
>> On 7/30/2013 1:43 PM, mcclnx mcc wrote:
>>>
>>> 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
>
> It certainly doesn't. However, I'm surprised the o/p's crontab entry
> *doesn't* work: it should run only on Sat, and only on when it's somewhere
> between the 1st and the 7th, which could only be the first Sat.

The conditions are ORd, so the job should run every Saturday and every
day from the first to the seventh (which will include a Saturday).  John
is right: most crons do not support "Nth X of the month" where X is a
day of the week.  (I don't know of any.)

--keith

-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
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