Cron Scheduling command???
DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Cron Scheduling command???

  1. #1
    Join Date
    Jul 2003
    Location
    Cincinnati
    Posts
    68

    Cron Scheduling command???

    Hello:

    If I want to run a crontab every hour between 9 am to 9pm, will this work ??

    00 09-19 * * * /.../.../../program.sh

    If the above does not work, what should it be ??

    Thanks, ST2003

  2. #2
    Join Date
    Dec 2001
    Location
    Keene, NH
    Posts
    510
    yes

    next time try:
    man crontab
    www.unix.com

  3. #3
    Join Date
    Jul 2003
    Location
    Cincinnati
    Posts
    68
    I don't have access to man pages..

    Thx for the suggestion and for confirming..

    St2003

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    how can you not have access to man pages if you have access to cron?

  5. #5
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,448
    www.google.com

    man crontab

    huh

  6. #6
    Join Date
    Dec 2001
    Location
    Keene, NH
    Posts
    510
    your sysadmin has to define your PATH

  7. #7
    Join Date
    May 2001
    Location
    London
    Posts
    149

    Talking

    i think it should be

    0 09-21 * * * /.../.../../program.sh

  8. #8
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,095
    That's the kind of person I like to hire...
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  9. #9
    Join Date
    May 2001
    Location
    London
    Posts
    149

    Talking

    Jeff,

    be more specific...

    0 9-21 * * * /.../.../../program.sh

  10. #10
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    im curious what does /.../ do (3 dots)

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