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-08-04, Darr247 <darr247@xxxxxxxxx> wrote:
> On 2013-08-04 2:59 PM, Mark LaPierre wrote:
>
> > 15 4 1-7 * 7 /home/app/oracle/backup/monthlybk.sh
>
>
> Can you please point out what's wrong with
>
> 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
>
> that makes it run every saturday instead of only the first saturday of 
> the month?

We have already gone over this.  The days columns are effectively ORed.
So the above job runs every day from the 1st to the 7th, and every
Saturday of the month.  Read man 5 crontab to see this documented.

--keith


-- 
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information


_______________________________________________
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