Meaning of this cronjob?

Discussion in 'PHP' started by KingCobra, Dec 3, 2011.

  1. #1
    Would you please tell me

    what is the meaning of this cronjob?

    #*/4 */2 3,5 2,4 0 /root/t.sh
     
    KingCobra, Dec 3, 2011 IP
  2. proactiv3

    proactiv3 Peon

    Messages:
    55
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    0
    #2
    Lets see:

    minute hour day-of-the-month month day-of-the-week
    Code (markup):
    */4 */2 3,5 2,4 0
    Code (markup):
    On February and April (2,4), on the 3rd and 5th days of the month (3,5). From 2 to 2 hours (*/2), every 4 minutes (*/4).

    Summarizing: on February the 3rd/5th and on April the 3rd/5th - when the hour is a multiple of 2 (0,2,4,6,8,10,12,14,16,18,20,22) the script will be run every 4 minutes.

    I think that's it.
     
    proactiv3, Dec 3, 2011 IP