HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Cron job failure report (http://www.howtoforge.com/forums/showthread.php?t=25027)

torusturtle 11th July 2008 19:44

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?

falko 12th July 2008 12:15

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

torusturtle 17th July 2008 12:59

Cron Job is only executed every hour!

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

sjau 17th July 2008 13:14

what is your cron entry?

torusturtle 17th July 2008 19: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 14:13

Quote:

Originally Posted by torusturtle (Post 136551)
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).


All times are GMT +2. The time now is 00:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.