By Martin Mubiru on Wednesday, 18 October 2017
Posted in General
Replies 3
Likes 0
Views 277
Votes 0
Hello,

I set up a feed importer and the testing worked fine. You can view tested items at http://onenip.com/GreatUgandaJobs.

However when I set up cron job to automate the process, it does not import new items published on the feed.
The set up seems to be fine because it brings the following message in the specified email for the cron:

--2017-10-17 15:55:01-- http://onenip.com/index.php?option=com_easyblog&;task=cron
Resolving onenip.com... 162.144.36.105
Connecting to onenip.com|162.144.36.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/x-json]
Saving to: “/dev/null”

0K 74.6M=0s

2017-10-17 15:55:02 (74.6 MB/s) - “/dev/null” saved [713]


I am not sure what is not set up well.
Hey Martin,

Based on the cronjob that you have created, it looks like you have setup the cron to process e-mails. In order to process feeds, you also need to setup a cronjob that links to:

[gist]
http://onenip.com/index.php?option=com_easyblog&task=cronfeed
[/gist]

The reason that we use a different cron URL for processing feeds is mainly because processing feeds takes time and it may time out depending on the max_execution_time set on the server.

You can read more about the cronjob for RSS feed at https://stackideas.com/docs/easyblog/administrators/configuration/feeds-importer
·
Wednesday, 18 October 2017 10:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post