By Mark on Monday, 20 July 2015
Posted in General Issues
Likes 0
Views 599
Votes 0
I am trying to setup the cron job for the feed importer following the doco and I cannot get it to work. I setup the cron job command as usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easyblog&task=cron"; like the doco says and it doesn't work. I contacted my hosting provider and they said: "The link that you have provided is not a command that can be used.You have to include a URL to get, and even if you did, it would be writing it to /dev/null which is like deleting it.". What command am I supposed to use to get the Feeds to import?
Hey Mark,

It's actually correct as we are not expecting any output from the url. By the way, the cron url for the feed importer should be the following:

/usr/bin/wget -O /dev/null "http://site.com/index.php?option=com_easyblog&task=cronfeed";
·
Monday, 20 July 2015 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, I see that it has ran the cron job with no issues, but I do not see any new posts from the feeds.
·
Monday, 20 July 2015 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
The feed importer will run based on the interval that you configured. If the cron runs every 5 minutes, it doesn't mean that it will try to import it every 5 minutes.
·
Monday, 20 July 2015 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, so if it runs every 5 minutes, is it just checking it, and it will import feeds at anytime? I don't know if that makes since as I am trying to wrap my head around around it.

Does this mean it is working properly?

--2015-07-19 10:30:01-- http://site.com/index.php?option=com_easyblog&task=cronfeed
Resolving site.com... 204.74.99.100
Connecting to site.com|204.74.99.100|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.site.com/index.php?option=com_easyblog&task=cronfeed [following]
--2015-07-19 10:30:01-- http://www.site.com/index.php?option=com_easyblog&task=cronfeed
Resolving http://www.site.com... 96.43.144.26, 96.43.145.26
Connecting to http://www.site.com|96.43.144.26|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.salesforce.com/platform/overview/?d=70130000000liBh [following]
--2015-07-19 10:30:01-- http://www.salesforce.com/platform/overview/?d=70130000000liBh
Resolving http://www.salesforce.com... 96.43.145.26, 96.43.144.26
Reusing existing connection to http://www.site.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 110319 (108K) [text/html]
Saving to: “/dev/null”

0K .......... .......... .......... .......... .......... 46% 200K 0s
50K .......... .......... .......... .......... .......... 92% 528K 0s
100K ....... 100% 285K=0.4s

2015-07-19 10:30:02 (290 KB/s) - “/dev/null” saved [110319/110319]
·
Monday, 20 July 2015 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, did you rename the site.com to your real domain? Based on your output, it looks like the cron service is connecting to site.com ?
·
Monday, 20 July 2015 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
LOL, sorry, yes, I forgot to change that address, I just copied and pasted it in there. I am glad I posted this or I wouldn't of caught it. Good Catch!
·
Monday, 20 July 2015 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, now I see it imported a feed so it is working now. Thanks again!
·
Monday, 20 July 2015 01:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Mark Glad that your issues are resolved now.
·
Monday, 20 July 2015 02:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post