phpmady Posted May 1, 2011 Share Posted May 1, 2011 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, Quote Link to comment https://forums.phpfreaks.com/topic/235274-permisssion-denied-in-cronjob-executing/ Share on other sites More sharing options...
sunfighter Posted May 1, 2011 Share Posted May 1, 2011 If it were my server I wouldn't let you run a program 1,440 times a day forever! Try running the cron once a day and see if that's OK. Quote Link to comment https://forums.phpfreaks.com/topic/235274-permisssion-denied-in-cronjob-executing/#findComment-1209088 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.