Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th July 2008, 19:44
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default 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 by torusturtle; 17th July 2008 at 16:16.
Reply With Quote
Sponsored Links
  #2  
Old 12th July 2008, 12:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

You can check your syslog - a log entry should appear whenever a cron job is executed.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th July 2008, 12:59
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Cron Job is only executed every hour!

Is this only an my machine or can this bug be confirmed?
Reply With Quote
  #4  
Old 17th July 2008, 13:14
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,138
Thanks: 4
Thanked 54 Times in 50 Posts
Default

what is your cron entry?
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 17th July 2008, 19:02
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

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.
Reply With Quote
  #6  
Old 18th July 2008, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by torusturtle View Post
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).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
torusturtle (18th July 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37
Mail server attack princebenin Server Operation 1 19th November 2007 14:02
wget cron job bschultz Programming/Scripts 9 12th September 2007 18:53
Dynamic IP and cron job satimis Server Operation 11 19th December 2006 14:34
cron job modified after upgrading V 2.2.5 jfruano Installation/Configuration 1 21st July 2006 12:31


All times are GMT +2. The time now is 17:41.


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