Cronjob bi-Monthly Setup

Preston Hagar prestonh at gmail.com
Thu Dec 2 21:28:11 UTC 2010


On Thu, Dec 2, 2010 at 3:14 PM, Maxime Alarie <malarie at processia.com> 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.

That should work fine and is probably the easiest way to do it.

Preston




More information about the ubuntu-users mailing list