Jump to content

Cron Questions


redham

Recommended Posts

I set up the cron job in cPanel that is required by WHMCS but I have a question about it.

 

The first command:

0 9 * * * php -q /home/xxxxxx/public_html/whmcs/admin/cron.php

caused an error so I used the second command:

0 9 * * * GET [url]http://mmm.xxxxxx.com/whmcs//admin/cron.php[/url]

and I have a question about it. The part "whmcs//admin" above has a double "//". Is that a mistake in WHMCS or is it suppose to be there?

This is the exact way the code is in the example in WHMCS.

Link to comment
Share on other sites

Hi Matt,

I just checked and it doesn't have the "//" except in Zttp://. However I closed the url with a "/". Example:

_ttp://mmm.domain.com/whmcs/

This caused the double // because when I just now changed it to:

Zttp://mmm.domain.com/whmcs

(no ending "/") the double // in the example cron was gone.

 

Anyway the cron is running now.

 

Thanks

redham

 

P/S This rule about no World Wide Web url until I get 15 posts is keeping me from properly discribing my problem!

Soooo I used mmm.domain.com instead.

This is one lame rule.

Link to comment
Share on other sites

Hi Matt,

 

I think it may be to do with entering a single / at the end of the URL but WHMCS adds a / as well, creating a double / :-)

 

Cheers,

Paul

 

YEP!

Thanks Paul. you must have posted as I was typing my reply.

 

Thanks

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