Ok, I am realy confused, please sort me out ;-)
When I run cron, my feed does not update nor is there any indication that my feed even tried to update. Can anyone help me sort this out?
Running d6.10 on Apache 2.2 and php 5.26 on ubuntu server 8.10 cron is running as anonymous user from remote using http:\\mysite\cron.php and status shows cron has run but there are no new nodes, I have checked the setting to ignore cron and it is not engaged. refreshing the feed with /node/xxx/refresh works fine and my new nodes are created. using a basic rss 2.0 feed and the common syndication parser
Any help is appreciated...
Franco
Comments
Comment #1
aron novakIt's possible that you're not aware of that FeedAPI does not update a feed if it was updated within 30 minutes. Maybe this is exactly what you did not understand. It's just a guess :)
If you need to modify this value, see feedapi.module and FEEDAPI_CRON_MIN_REFRESH_TIME .
Comment #2
spydmobile commentedI see, I imagine that is it. So I just set it to 4:30, how about making this a config option so users dont have to customize the module every time they update it?
Comment #3
aron novakSo did it solve your problem?
For the majority of the use-cases, 30 minutes as a minimal refresh frequency is adequate, i assume.
Comment #4
spydmobile commentedYes thanks. My particular use case is perhaps not unique but rare probably, The feed api is ingesting live RSS hourly weather data directly from multiple weather stations that roll in between the hour and 20 minutes after the hour, so of course to help it start showing in drupal I need to update the feed every 5 minutes until 20 after. For now, drupal is getting an anonymous cron every 10 minutes and the feed is updating fine. My last question on this topic is why I dont geta watchdog entry saying the feed was updated when it is updated by cron, is this by design or oversight?
Comment #5
aron novakThis is absolutely okay that there are no watchdog messages.
Comment #6
Gentoo7 commentedSo does feedapi use the global site's cron, or should I create an individual cron just for feedapi?
Comment #8
equinox commentedI was wondering why despite seeing elsewhere here that the default refresh time for Feedapi is 30 minutes my feeds were only updating every few days without a forced refresh. The current download of this module specifies 1800 seconds (I assume, although this is confusing with the "MIN" in the parameter name implies maybe minutes) yet my feeds are only automatically refreshing every 24 hours at best. My cron runs every 15 minutes and my feedapi settings allows 75% of cron time to feed processing. Any idea why rare refresh?
// Minimum time that must elapse before a feed can be refreshed again on cron.
define('FEEDAPI_CRON_MIN_REFRESH_TIME', 1800);
Comment #9
equinox commentedMy cron is NOT running every 15 minutes.. Feeds update correctly if I manually run Cron. SO Nevermind!
thanks