Jump to content

Cron Jobs Will Not RUn


watzursn

Recommended Posts

Hello,

 

I'm trying to run a cron job on WHMCS and when i enter in the PHP command line i get an e-mail saying that "No such file or directory found" when it clearly points to that file.

 

What do you think might cause this?

 

Thank you in advance for any help you may be able to give.

 

 

-Mike

Link to comment
Share on other sites

Just for kicks.....does the directory exist? Make sure your path is correct?

 

cPanel:

php -q /home/<cpanel username>/public_html/<dir>/admin/cron.php

 

yes the directory exists........ why would it say fiel or dir not found?

Link to comment
Share on other sites

yes the directory exists........ why would it say fiel or dir not found?

generally because you made a typo on the path

 

try (instead of php -q /home/<cpanel username>/public_html/<dir>/billing/admin/cron.php )

ls -l -a /home/<cpanel username>/public_html/<dir>/billing/admin/cron.php

and see if it correctly lists the file

Link to comment
Share on other sites

  • 2 weeks later...

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