CronJob not starting

Discussion in 'General' started by Kira, Sep 30, 2011.

  1. Kira

    Kira New Member

    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:
    or:

    Any idea?

    Thanks,
    Kira
     
  2. till

    till Super Moderator

    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.
     
  3. Kira

    Kira New Member

    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
     
  4. till

    till Super Moderator

    Edit the client limits and select "Full Cron" as cron type.

    You might have to take a look into the jailkit documentation for that:

    http://olivier.sessink.nl/jailkit/
     

Share This Page