wget/lynx not working in cron
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