wget/lynx not working in cron
Category: Cpanel
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:
http://www.jomsocial.com/support/docs/item/720-setting-up-cron-job-scheduled-task.html
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:
http://www.jomsocial.com/support/docs/item/720-setting-up-cron-job-scheduled-task.html
OTHER ANSWERS
|
0
|
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 |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
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: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


