PDA

View Full Version : Cron job failure report


torusturtle
11th July 2008, 20:44
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?

falko
12th July 2008, 13:15
You can check your syslog - a log entry should appear whenever a cron job is executed.

torusturtle
17th July 2008, 13:59
Cron Job is only executed every hour!

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

sjau
17th July 2008, 14:14
what is your cron entry?

torusturtle
17th July 2008, 20:02
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.

falko
18th July 2008, 15:13
I selected 5 in the minutes section and all in all the other sections.

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).