Cron Job - Not executing- Directory issu

Discussion in 'General' started by alfredo.ardito, Aug 31, 2017.

  1. alfredo.ardito

    alfredo.ardito New Member

    I installed ISPconfig3 following the tutorial The Perfect Server - Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1.
    Everything seems to work fine except for a problem I noticed in cron job
    I have the following cron job setup:
    Checking /var/log/auth.log I get this error :
    I executed the same cron job without SHELL='/usr/sbin/jk_chrootsh' and it works, so I assume it has something to do with jailkit
    Has anyone experienced the same problem?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What exactly did you enter into the command field of this cronjob in ISPConfig?
  3. alfredo.ardito

    alfredo.ardito New Member

    Okay, I figured out the problem. I first needed to add a shell-user for that website and then re-added the cron job which I deleted previously.
    Every thing works now.
    Thank you

Share This Page