DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: cronjob is failing. MOST URGENT PLS

Hybrid View

  1. #1
    Join Date
    Apr 2002
    Posts
    291
    Hi Gurus,
    I want to run some jobs from monday to thursday and some only on friday. can you please help me for this command.

    I put like this:

    30 00 1-4 * * /home/oracle/test.sh

    45 01 5 * * /home/oracle/test1.sh

    but this is not working. why is it so?

    Can any one let me know some sites which tell in detail about crons in linux??

    Thanks in advance

    PNRDBA

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    have you tried man cron sigh

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    This question might be better answered at http://www.unix.com
    Jeff Hunter

  4. #4
    Join Date
    Oct 2000
    Location
    Charlotte, USA
    Posts
    330
    Hi try man ....
    here is the correct format...

    1 2 3 4 5 6
    30 00 * * 1-4 /home/oracle/test.sh

    45 01 * * 5 /home/oracle/test1.sh

    1.....min
    2.....hrs
    3.....day of the month
    4.....month of the year
    5.....day of the week
    6......script.
    Hope this help.
    Thanigaivasan


  5. #5
    Join Date
    Apr 2002
    Posts
    291
    got it. Thanks all
    PNRDBA

Posting Permissions

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


Click Here to Expand Forum to Full Width