Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    15

    Unanswered: Crontab to run every Monday

    Hello Team,
    I have a script that is responsible to query a database and collect data. I need to schedule this script in the crontab to run at 07:15Hrs every monday, every month of the year. All i have managed to include in the crontab is: 15 07 * * *

    This crontab line executes every day at 07:15 which is not what i want.

    Any idea to schedule it run only on Mondays at 07:15?

    Thanks all.

  2. #2
    Join Date
    Aug 2006
    Location
    The Netherlands
    Posts
    248
    Code:
    15 7 * * 1 /usr/local/whatever
    Examples can be found everywhere, like here: http://www.die.net/doc/linux/man/man5/crontab.5.html
    Last edited by Tyveleyn; 01-31-07 at 18:46.

  3. #3
    Join Date
    Jan 2004
    Posts
    15
    Thanks so much Tyveleyn , i have tried it and it works so well.

Posting Permissions

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