Results 1 to 2 of 2

Thread: Help in crontab

  1. #1
    Join Date
    Sep 2008
    Posts
    4

    Unanswered: Help in crontab

    I am trying to setup crontab in unix and giving me error

    * 24/3 4-22 * * * rm /archive/autosys1/arch*.log

    would like to run every 3 hours except between 11:30PM to 4AM

    Please help me out

    Thanks
    jhonny

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    What is the exact error message?
    24/3 is not supported syntax on all unix systems. Instead use
    0,3,6,9,12,15,18,21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •