Search code examples
pythoncronputty

How to understand the following Crontab? i know the structure but can't find proper source to clearly explain it


I am just trying and working with cron jobs for the first time and need some context into how to create a pattern i need.

just need an explanation with an example. thanks.

m     h  dom mon dow
35   */8  *   *   * 
9,35   *  *   *   *
47     6  *   *   7
52     6  1   *   *

Solution

  • Here is explanation:

    35   */8  *   *   *
    

    run 35t minute every 8 hours: 0,8,16

    9,35   *  *   *   *
    

    run every 9 and 35 minute, every hour, every day

    47     6  *   *   7
    

    run at 6:47 on sundays

    52     6  1   *   *
    

    run at 6:52 every 1st day of every month