FREE Get a FREE template when you purchase Social bundle 🚀 ⚡️

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

CRON job not working

Eden Clemente · ·
5:50 PM Thursday, 10 October 2013
None
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?
The replies under this section are restricted to logged in users or users with an active subscription with us