Jump to content

Permisssion denied in cronjob executing?


phpmady

Recommended Posts

Hi,

 

I am using cpanel, where i am want to run a php file, to delete the old records,

 

i used cronjob in cpanel to do this.

 

In time columns i have made : * * * * * to execute each and every minute the script..

 

In the command textbox i have made: /home/server25/public_html/auto_cancel.php

 

 

in the email box: [email protected]

 

 

I am getting Permission denied to my email address:

The error report am getting is :

 

/bin/sh: /home/server25/public_html/auto_cancel.php: Permission denied

 

Please help me to solve this.

Thanks,

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/235274-permisssion-denied-in-cronjob-executing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.