Jump to content
  • 0

Cron jobs will not run.


wdalessi

Question

Hello,

 

I have tried to get the cron jobs to run, but with no luck. I seem to be following thw direction properlyl

 

I am using "DirectAdmin" on Fedora 4

 

I setup in the admin account to run and test:

 

php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php

 

I get emails back:

 

Cron <admin@cp> php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php

 

/bin/sh: php: command not found

 

 

If I try to run the command in quotes""

 

"php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php"

 

 

I get email saying:

 

 

/bin/sh: php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php : No such file or directory

 

If I run the "Get" version of setting up the CRON job, I do not get any email back at all. I think that also means it is failing to run.

 

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

 

Bill

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

wdalessi,

 

What happens if you run the command from tcl in ssh?

 

Run your command minus the cron timings at tcl:

 

php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php

 

Then check in WHMCS>UTILITIES>Activity Log to see if it has run.

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
Answer this question...

×   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