Cron job failure report

Discussion in 'General' started by torusturtle, Jul 11, 2008.

  1. torusturtle

    torusturtle Member

    Cron job execution only every hour instead 5 minutes

    I have set up a cron job that should be executed every 5 minutes.
    I selected 5 in the minutes section and all in all the other sections.

    The cron generates an error message (which has nothing to do with ISPConfig).

    The interesting fact is that I get the error only once an hour.

    Does that mean that the error will only send once an hour or is this cron not executed every 5 minutes like it should be?
     
    Last edited: Jul 17, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    You can check your syslog - a log entry should appear whenever a cron job is executed.
     
  3. torusturtle

    torusturtle Member

    Cron Job is only executed every hour!

    Is this only an my machine or can this bug be confirmed?
     
  4. sjau

    sjau Local Meanie Moderator

    what is your cron entry?
     
  5. torusturtle

    torusturtle Member

    I have set it up in ISPConfig:
    php -q /var/www/web1/web/jobs.php

    I selected 5 in the minutes section and all in all the other sections.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    This means that the cron job is executed in the fifth minute of every hour, thus it's executed hourly.
    If you want to execute the cron job every five minutes, you must select 0, 5, 10, 15, 20, etc. in the minutes section (press CTRL to select more than one value).
     

Share This Page