Reputation: 43
I set up a cron job in Cpanel according to backup but received this email alert: /usr/local/cpanel/bin/jailshell: /home/mahsanwe/cron_backups.php: Permission denied
How to fix it?
Upvotes: 4
Views: 5968
Reputation: 301
Please add the PHP command to be executed. It should be like this.
* * * * * /usr/local/bin/php /home/mahsanwe/cron_backups.php
You can also refer the below article for more understanding.
Upvotes: 2