Hi, I have set up a cron Job onto my server but it doesn't work.
I tested the script but the result was showing nothing, then I assigned my email for the output and saw that the access is denied.
I am going to post here the conversation with the Hosting Company Support Desk:
Hi, I tried to run this cron job onto my website but the connection gets refused:
/usr/bin/wget -O /dev/null "
http://www.fx2.it/index.php?option=com_easyblog&task=cron"
I don't know if the path is correct and the permissions are ok as I don't think I have access to those
areas of the server. This is the error message:
--2013-10-10 01:05:03--
http://www.fx2.it/index.php?option=com_easyblog&task=cron Resolving
http://www.fx2.it... 79.170.44.102 Connecting to
http://www.fx2.it|79.170.44.102|:80... failed: Connection refused.
---------------------------
Hi Eden,
Thank you for contacting us.
Opening that via HTTP will be disallowed because we block 'loop-back' requests. Try instead with the full server path ->
/home/sites/fx2.it/public_html/index.php?option=com_easyblog&task=cron
-----------------------------
so would the entire script be:
/usr/bin/wget -O /dev/null "home/sites/fx2.it/public_html/index.php?option=com_easyblog&task=cron" ?
-----------------------------
Hi Eden,
Thank you for your reply.
That may be because the script has no direct output redirected? What if you run it directly in your browser?