Hi team, I have some trouble creating cron jobs.... First there seem to be a race condition: Code: Mo 9. Mär 20:50:01 CET 2026 usermod: user web210 is currently used by process 4123259 Mo 9. Mär 20:50:01 CET 2026 failed to execute usermod -d /var/www/clients/client25/web210/. -s /usr/sbin/jk_chrootsh web210 Mo 9. Mär 20:50:01 CET 2026 failed to modify user web210 Then, if I run the command in a shell Code: usermod -d /var/www/clients/client25/web210/. -s /usr/sbin/jk_chrootsh web210 the result is Code: web210:x:1005:1006::/var/www/clients/client25/web210/.:/usr/sbin/jk_chrootsh This lead to Code: Mär 09 20:56:01 v10004 jk_chrootsh[4125403]: abort, homedir '/var/www/clients/client25/web210/.' for user web210 (1005) does not contain the jail separator <jail>/./<home> Fixing it to Code: web210:x:1005:1006::/var/www/clients/client25/web210/./:/usr/sbin/jk_chrootsh leads to Code: Mär 09 21:09:01 v10004 jk_chrootsh[4127455]: abort, path /var/www/clients/client25/web210/./ is not owned by 1005 Fixing it to Code: web210:x:1005:1006::/var/www/clients/client25/web210/./web:/usr/sbin/jk_chrootsh leads to Code: Mär 09 21:12:01 v10004 CRON[4127986]: pam_unix(cron:session): session opened for user web210(uid=1005) by (uid=0) Mär 09 21:12:01 v10004 CRON[4127987]: pam_unix(cron:session): session opened for user web210(uid=1005) by (uid=0) Mär 09 21:12:01 v10004 CRON[4127990]: (web210) CMD (/usr/bin/php /var/www/mywebseite.de/web/cron1.php >>/private/cron.log 2>>/private/cron_error.log #mywebseite.de) Mär 09 21:12:01 v10004 jk_chrootsh[4127990]: now entering jail /var/www/clients/client25/web210 for user web210 (1005) with arguments -c /usr/bin/php /var/www/mywebseite.de/web/cron1.php >>/private/cron.log 2>>/private/cron_error.log #mywebseite.de Mär 09 21:12:01 v10004 jk_chrootsh[4127992]: abort, failed to find user 1005 in /var/www/clients/client25/web210/etc/passwd Mär 09 21:12:01 v10004 CRON[4127987]: pam_unix(cron:session): session closed for user web210 All i want ist to run a PHP-script by system cron under client-user/group-ID using cli PHP (and not by wget using an URL) and I want to see the log. My first try was Code: {SITE_PHP} {DOCROOT_CLIENT}/cron1.php and I guess it would nice if this do the job as expected.... In the beginning I had no jailkit installed on that ispconfig server, leaded to some more errors so I just installed it with apt but w/o any configuration after that (so no ispconfig install script etc) there are some more error mentioning quota... Does ISPConfig GUI Cron-job administration depends on installed modules like jailkit? if so, the modules should be listed somewhere. As for now I saw no reason to install jailkit or quota on some servers. Thank you for any help cmks
For a jailed cron job, you would normally use: Code: {SITE_PHP} /web/cron1.php The line you used is for a non-jailed cron job. Using a jailed cron job requires that you have installed jailkit properly at the time you installed your server. Yes, that's why it's listed in the installation guides. See installation guides. Jailkit installation is part of them. Also, the auto-installer installs it as well. It's expected that your system will partially fail if you do not install all the software as described in the install guides. Installing it later leaves it unconfigured. You can try running an ISPConfig update and let it reconfigure services after you fully install jailkit; it might be able to repair your setup.