• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Cronjob File Permissions Query

D

DirtyMonkey

Guest
When running a Cronjob for a specific domain, what file permissions/ownership should be set for the Cronjob/Plesk to function correctly?

I am currently using Ubuntu 6.06 LTS, so for example default user/group permissions might be = root/root

Say for instance the domain is:

'mydomain.com' in Plesk/Virtuozzo this user will exists as 'mydomain'

What user/group should be set for the 'cronjob.php' file in order for the Plesk GUI 'Crontab' to have permissions to execute said file.


Thanks in advance DM.
 
The cronjob created via Plesk will be executed as user which you have chose during task creation.
So you need that executed script has 'read' and 'execute' permissions granted for the user.
For example, if the script is placed inside httpdocs folder and if the ftp user name is mydomain the script can have mydomain : psacln ownership and 700 permissions set.
 
Back
Top