Re: [Hampshire] Quick cron question

Top Page

Reply to this message
Author: Gareth
Date:  
To: Hampshire LUG Discussion List, owain
Subject: Re: [Hampshire] Quick cron question
No problem there is a cool diagram thing you can get of the cron stuff with
dotted lines etc to show u it... I always have to remind myself.

Just to confuse matters some nix accept 1-7 as below ;-)

 ┌────────── minute (0 - 59)
 │ ┌──────── hour (0 - 23)
 │ │ ┌────── day of month (1 - 31)
 │ │ │ ┌──── month (1 - 12)
 │ │ │ │ ┌── day of week (0 - 6 => Sunday - Saturday, or
 │ │ │ │ │                1 - 7 => Monday - Sunday)
 ↓ ↓ ↓ ↓ ↓
 * * * * * command to be executed




On 8 Nov 2017 11:19 a.m., "owain via Hampshire" <
hampshire@???> wrote:

> Thank you Gareth
>
> On 08/11/17 10:57, Gareth wrote:
>
> Monday -> Saturday = 1 -> 6
> Sunday = 0
>
> On 8 Nov 2017 10:49 a.m., "owain via Hampshire" <
> hampshire@???> wrote:
>
> How does "dow" (day of the week) work in crontab? Is 0 Sunday or Monday?
>
> Thanks
>
> Owain
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>
>
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------