I am sorry, but this is the weirdest feature in Plesk 10 / 11 I have ever found and I am really unhappy with it!
Default behaviour of Plesk is to run cron jobs in a chrooted environment, causing loads of problems, because php and other software are NOT in this chrooted environment.
This causes problems, such as:
"-: .... : No such file or directory" or "sudo: command not found", etc.
The solution offered to this by various people is to enable FULL SHELL access to the MAIN FTP USER of the domain! :O
Please read the line above again... this is a huge security risk!!!!
I have tried several things, such as:
1) Creating an additional FTP user -> Problem: You cannot give shell access to additional FTP users
2) Trying to find out how to create an additional system user -> Problem: I couldn't find any proper documentation on how to do this
So basically I am completely stuck here, I wish there was a way to simply get the "old cron behaviour" back in Plesk 10 / 11 where cron tasks could simply access all of the server's software without limitations.
Does anybody know a way to do this?
Other solution offered was to get all the scripts / binaries / etc you want cron to be able to run in a chrooted shell, I tried this with PHP but this is as far as I can see an impossible way to go. (Dependencies........)
Default behaviour of Plesk is to run cron jobs in a chrooted environment, causing loads of problems, because php and other software are NOT in this chrooted environment.
This causes problems, such as:
"-: .... : No such file or directory" or "sudo: command not found", etc.
The solution offered to this by various people is to enable FULL SHELL access to the MAIN FTP USER of the domain! :O
Please read the line above again... this is a huge security risk!!!!
I have tried several things, such as:
1) Creating an additional FTP user -> Problem: You cannot give shell access to additional FTP users
2) Trying to find out how to create an additional system user -> Problem: I couldn't find any proper documentation on how to do this
So basically I am completely stuck here, I wish there was a way to simply get the "old cron behaviour" back in Plesk 10 / 11 where cron tasks could simply access all of the server's software without limitations.
Does anybody know a way to do this?
Other solution offered was to get all the scripts / binaries / etc you want cron to be able to run in a chrooted shell, I tried this with PHP but this is as far as I can see an impossible way to go. (Dependencies........)