New cronjobs won't execute

Discussion in 'ISPConfig 3 Priority Support' started by Blaasbalg, Jun 30, 2014.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the directory:

    /var/www/clients/client4/web21/home/web21

    exist? If not, try to create it:

    chattr -i /var/www/clients/client4/web21
    mkdir -p /var/www/clients/client4/web21/home/web21
    chown web21:client4 /var/www/clients/client4/web21/home/web21
    chattr +i /var/www/clients/client4/web21
     
  2. Blaasbalg

    Blaasbalg Member

    That worked! The cron is now running successfully :)

    ... which actually makes me even more confused, since this directory now actually exists, it suddenly reads from the correct path (it reads from "/var/www/clients/client4/web21/web/" now, and not from "/var/www/clients/client4/web21/home/web21")... do you know why that is happening?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    No, not really.
     
  4. ganewbie

    ganewbie Member HowtoForge Supporter

    Hi Till,
    Could you please show an example of a jailed job how it would look like?
    Thanks,
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can e.g. see the difference in the cron file in /etc/cron.d/, the shell is a jailkit shell and not /bin/sh when a cronjob is jailed. Create one and compare the files in cron.d/ to see the difference.
     

Share This Page