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 07/30/2013 04:43 PM, mcclnx mcc wrote:
> we have CENTOS 5.5 on DELL server.  One of our script need run on first Saturday every month.
>
>   We have following setup on cron job but it run every Saturday.
>
> 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
>
>    Any one know how to fix it?
>
> Thanks.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

1 2 3 4 5 /root/backup.sh

* * * * * command to be executed
- - - - -
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)

15 4 1-7 * 7 /home/app/oracle/backup/monthlybk.sh


-- 
     _
    °v°
   /(_)\
    ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****
_______________________________________________
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