Jump to content

Cron - Permission Denied


Jake09

Recommended Posts

I understand why I'm getting the error, I just need to know the exact syntax to input into the WHMCS and cPanel fields on the server.

 

At my WHMCS I have this:

php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php

 

At my cPanel I have:

/home/myacct/public_html/mywhmcs/myadmin/cron.php

 

What is missing from those lines?

Should my cPanel Cron also have the php -q before the string?

And maybe I should have user/local/bin/php -q before the string at WHMCS?

 

Thanks for any answers.

Link to comment
Share on other sites

I understand why I'm getting the error, I just need to know the exact syntax to input into the WHMCS and cPanel fields on the server.

 

At my WHMCS I have this:

php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php

 

At my cPanel I have:

/home/myacct/public_html/mywhmcs/myadmin/cron.php

 

What is missing from those lines?

Should my cPanel Cron also have the php -q before the string?

And maybe I should have user/local/bin/php -q before the string at WHMCS?

 

Thanks for any answers.

 

Try

 

/usr/local/bin/php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated