F
faris
Guest
Can anybody tell me which user domain cron jobs run as? Logically it is as that particular user (e.g. if FTP username for domain.com is XXX, then the cron job would run as XXX, as this is the user that is listed on the page by default)
But how can that be, if such users don't have shell access?
And to confuse things even more, Help for the ctontab section says:
"Note: Plesk administrator can create the scheduled tasks that will be run on the server on behalf of user root. If you wish to restrict usage of the root account, create an empty file with name root.crontab.lock in the location /usr/local/psa/var/."
Does this mean the cron jobs are actually run as root, no matter what username is shown in the crontab drop-down? Surely not?
And if you create this file, then what? Exactly what does it stop?
Any info would be appreciated.
Faris.
But how can that be, if such users don't have shell access?
And to confuse things even more, Help for the ctontab section says:
"Note: Plesk administrator can create the scheduled tasks that will be run on the server on behalf of user root. If you wish to restrict usage of the root account, create an empty file with name root.crontab.lock in the location /usr/local/psa/var/."
Does this mean the cron jobs are actually run as root, no matter what username is shown in the crontab drop-down? Surely not?
And if you create this file, then what? Exactly what does it stop?
Any info would be appreciated.
Faris.