Cronjob on Jailkit Environment is not executed
Cronjob is not executed on a jailed environment because the home directory is missing or not created
this happen if the website didn't have Shell-user but have a Cronjob ( not URL cronjob )
The cronjob should be executed, and it's log is created on the /private directory of jailed environment.
Server OS: Ubuntu
Server OS version: 18.04 Bionic Beaver
ISPConfig version: 3.1.13 .
create the home directory manually seems fix the problem.
but i modify scripts on
/usr/local/ispconfig/server/scripts/create_jailkit_user.sh to check home directory, after that i re-add the cronjob from webpanel
### Check if USERHOMEDIR already exists ### if [ ! -d $CHROOT_HOMEDIR/.$CHROOT_USERHOMEDIR ]; then mkdir -p $CHROOT_HOMEDIR/.$CHROOT_USERHOMEDIR chown -R $CHROOT_USERNAME $CHROOT_HOMEDIR/.$CHROOT_USERHOMEDIR fi