When i set up a scheduled task in plesk, i get this error when the job is running:
execl: couldn't exec `/usr/local/psa/bin/chrootsh'
execl: No such file or directory
The site is enabled in CageFS. If I disable CageFS for the site, it works.
Is it because the file /usr/local/psa/bin/chrootsh is missing in the skeleton?
I have created /etc/cagefs/conf.d/pleskcron.cfg
And after that i ran /usr/sbin/cagefsctl --force-update
That did change something, because now the error is:
setreuid() to root failed
system error: Operation not permitted
What is the correct way to get Scheduled Tasks to work with Plesk with CageFS?