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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th September 2011, 02:12
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 3 Times in 3 Posts
Default CronJob not starting

Hi,

I've created a cronjob to run every minute (for testing), but it looks like it's never started..


The command I run is an executable python file:
/var/www/myDomain/cron/myCronJob.py

I used a * for every flag to run it every minute..


I can't see anything in the "ISP Cron Log" about my job, there are only a lot of errors like:
Quote:
sh: /usr/share/awstats/tools/awstats_buildstaticpages.pl: No such file or directory
or:

Quote:
mkdir: cannot create directory `/var/www/clients/client1/web43/var/run/mysqld': File exists
Any idea?

Thanks,
Kira
Reply With Quote
Sponsored Links
  #2  
Old 30th September 2011, 11:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

The ispc cron log is a ispconfig log file and not a log for your client cronjobs. So the errors that you see there are not related.

My guess is that you created a jailed cronjob, which is the default and as python is not within the jail, the cronjob can not be run. So either you create a unjailed cronjob or you would have to modify the jail and add python.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th September 2011, 11:43
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi,

I see this makes sense.

But, how do I create a unjailed cronjob? or alternatively, how do I add Python to the Jail?

Thanks,
Kira
Reply With Quote
  #4  
Old 30th September 2011, 11:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

Quote:
But, how do I create a unjailed cronjob?
Edit the client limits and select "Full Cron" as cron type.

Quote:
or alternatively, how do I add Python to the Jail?
You might have to take a look into the jailkit documentation for that:

http://olivier.sessink.nl/jailkit/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
iRedMail Davano Server Operation 11 24th May 2011 00:27
coexistence of php4 and php5 on ISPC3 AceLine Tips/Tricks/Mods 5 5th November 2010 15:56
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
dns server error Hellbound General 7 2nd August 2007 10:18


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


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