greenroomhosting Posted March 20, 2007 Share Posted March 20, 2007 Hello: I have just set up my WHMCS and have set up the cron job in cpanel as /home/MYCPANELUSERNAME/public_html/whmcs/admin/cron.php When the job tries to run I get the error "Permission denied" Does anyone have any advice on why this would be denied? The only thing I can think of is that my username for my cpanel is different than my username in WHMCS. Do I need to setup a user with the same name for WHMCS for the cron to run? Thanks for any help! 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted March 21, 2007 Share Posted March 21, 2007 Hey, This will be a server side problem, what are you typing into cron (word for word)? From, Adam 0 Quote Link to comment Share on other sites More sharing options...
intramanga Posted March 21, 2007 Share Posted March 21, 2007 /home/MYCPANELUSERNAME/public_html/whmcs/admin/cron.php Don't you have to use it like this ? /usr/local/bin/php -q /home/MYCPANELUSERNAME/public_html/whmcs/admin/cron.php That's how mine works. Ed, 0 Quote Link to comment Share on other sites More sharing options...
greenroomhosting Posted March 21, 2007 Author Share Posted March 21, 2007 Hi: You are right. I fooled around with it a bit last night and figured out the problem was that I was missing the beginning of the line. Thank you both for your help, it seems to be up and working now. Have a great day! 0 Quote Link to comment 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.