Hello, I installed several cron jobs via ispconfig webadmin using php exec("shell commands"). I just put http address to the last line in cron form in webadmin and it works. However, I would prefer to use classic shell scripts located outside of web directory. But I always failed: a) cron in webadmin: /path/to/the/file.sh in file.sh only tar command result: nothing b) cron in webadmin: /bin/sh /path/to/the/file.sh in file.sh only tar command or with PATH=$PATH: /path/to/the result: nothing Please, I am desperate, I do not want to run cron jobs from web directories. Thank you.
You have to differntiate if its a full cron job or a jailed cron job (see client limit settings). Jailed crin jobs limit the cron command to the website root diredtory and you can only run commands that are installed inside the jail and all paths are relative to the web root dir.