feeds/feed items not updating with cron

battochir - October 4, 2008 - 10:14
Project:SimpleFeed
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

I've tried ALL the syndication modules on Drupal and decided on this one. It's very fast and the code is nice, simple, and clean. Thank you all for that. My problem is -- I'm on Drupal 6.4 with the 6.dev simplefeed.module. The feeds update manually but not with cron. I've seen this posted elsewhere but it was attributed to feedburner feeds. This does not apply to my situation as I am not syndicating anything from feedburner. Is this a known issue or is it only a problem on my side? Is it because I'm using a dev branch? Any input is appreciated.

cheers,

Wim

#1

m3avrck - October 7, 2008 - 06:26
Status:active» fixed

Actually it is probably because your feed is set to expire items older than 1 day and all items in your feed are older than 1 day.

New dev version sets default to "never".

http://drupal.org/cvs?commit=144831

#2

battochir - October 8, 2008 - 10:29

Hello m3avrck,

Thanks for your response. I wanted to thoroughly test this module before coming back. Your suggestion was duly noted. However, the feeds still do not update. An example. I am using a brand new drupal 6.4 install with only core and simplefeed (Oct.8) modules running. I create a feed using default "never"--it works. I change the same feed's setting to expire after one day, run cron, and nothing--items don't get updated. I go to the feed, click refresh manually--it updates. Should'nt cron be doing this? Even if I don't use default "never" and start with the feed setting to expire after one day, the feed will not update with a cron run--only a manual refresh works. Am I misunderstanding this module's functionality? Can you duplicate this behaviour?

cheers,

wim

#3

m3avrck - October 8, 2008 - 16:25

wim, yes if you set to "never" and it works, it works :)

what happens on cron, different from manual, is it goes through and "expires" items.

if you download drupal.org/planet and set expire to 1 hour... it'll download items that are *less than hour old* anything else is disgarded and perhaps nothing is found that new.

#4

kenorb - October 21, 2008 - 13:20
Status:fixed» active

I've similar problem, even using the newest version feeds are not updating.
I've set updating period per hour and I've followed log:

20/10/2008 - 23:00 0 file_get_contents could not read the file
20/10/2008 - 22:00 0 No new items
20/10/2008 - 21:00 0 No new items
20/10/2008 - 20:00 0 No new items
20/10/2008 - 19:00 0 No new items
20/10/2008 - 18:00 0 No new items
20/10/2008 - 17:00 0 No new items
20/10/2008 - 16:00 0 No new items
20/10/2008 - 15:00 0 No new items
20/10/2008 - 14:00 0 No new items
20/10/2008 - 13:00 0 No new items
20/10/2008 - 12:00 0 No new items
20/10/2008 - 11:00 0 No new items
20/10/2008 - 10:00 0 No new items
20/10/2008 - 09:00 1 New items

Now it's 21/10/2008 14:08 o'clock
It's very weird, because after first error it stops updating. I haven't change anything.
Even I'm trying to Refresh Feed manually, it's doing nothing (no new entries in log).
And another problem is that, when I'm going to edit this feed, Feed URL is empty!
I'm using FeedAPI as well, maybe there is some conflict.

#5

laken - July 30, 2009 - 01:42

I want to confirm this problem, though I'm using the 5.x version of the module (please advise if this should be moved into a separate issue for that version.)

Actually it's 2 separate problems:

problem 1 - error stops feed from refreshing with cron

I'm using the module to pull in a feed from delicious. It totally stopped updating new items via cron. I checked the feed log and found this:

07/05/2009 – 00:46 cURL error 6: name lookup timed out

no log entries after that. I refreshed manually and the new items appeared right away. After that cron refreshing seemed to work again.

problem 2 - after emptying feed, refreshing does nothing

This might be by design, but sometimes during testing I remove items from my feed, and I find they don't disappear from simplefeed unless I manually empty the feed. After emptying the feed, when I manually refresh, none of the existing items are created, only items that have been added to the feed after emptying show up.

Is this the intended behavior: 'empty the feed and only add new items from here on'? If so, is there a way through the UI to force a re-load of all items in the feed?

And to the original point, if an item is deleted from the source feed (as opposed to simply expiring), should SimpleFeed remove it when the feed is refreshed?

Thanks!

#6

Bèrto ëd Sèra - October 17, 2009 - 18:03

Feeds stopped here, too. I had to empty, drop and recreate the feeds to start them again. Have no idea of why, the logs were not showing any error, mollom had recorded as "ham" a feed item that was actually never loaded, and after that it went blank.

 
 

Drupal is a registered trademark of Dries Buytaert.