InMotion Hosting Support Center

wget/lynx not working in cron

Category: Cpanel

2012-08-16 10:44 pm EST

Hits: 2,047
I've tried both of commands below, none of them working.

wget -O /dev/null "http://MyDomainName/index.php?option=com_community&task=cron" > /dev/null

lynx -source "http://MyDomainName/index.php?option=com_community&task=cron" > /dev/null

The url above is valid & working in browser (FF, Chrome).

Note: MyDomainName is replaced to my valid doman name when testing.

Reference site:

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2012-08-17 8:10 am EST
Hello Dustin,

wget is disabled on our shared servers. I have an article here that fully explains the format for the lynx command when using a cron.

Yours is almost in the correct format for our servers, however it is missing a 'useragent' component.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!