Cronjob bi-Monthly Setup
Tony Pursell
ajp at princeswalk.fsnet.co.uk
Thu Dec 2 22:31:51 UTC 2010
On Thu, 2010-12-02 at 16:14 -0500, Maxime Alarie wrote:
> Hi,
>
> This is my crontab Reference:
>
>
>
> #Crontab Reference
>
> # * * * * * command to be executed
>
> # - - - - -
>
> # | | | | |
>
> # | | | | +----- day of week (0 - 6) (Sunday=0)
>
> # | | | +------- month (1 - 12)
>
> # | | +--------- day of month (1 - 31)
>
> # | +----------- hour (0 - 23)
>
> # +------------- min (0 - 59)
>
>
>
>
>
> What would be the entry of a bi-monthly entry? (every 2 weeks) Doing
> it in hours is not very elegant. Should I Gio like this?
>
>
>
> 0 10 1,15 * * /etc/scripts/my_script?
>
>
>
> Thanks.
>
>
See
man 5 crontab
this seems to say you need */2 in the month field for every other month.
Tony
More information about the ubuntu-users
mailing list