Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291122

Core aggregator feeds not updating with cron run

$
0
0

I am running Drupal 7.21 and am in the process of shifting my Google Reader feeds to Drupal core aggregator module feeds.

I succeeded at uploading my Google Reader OPML file, but noticed that feeds were not updating. I looked in my logs and saw several PDO exception errors:

PDOException: in aggregator_save_item() (line 157 of /home/public_html/modules/aggregator/aggregator.processor.inc).

None of the error messages indicated a particular source for the error (such as a particular feed). The log indicated cron was running hourly.

Looking through Drupal.org, it seemed there may be bad feeds causing problems with the cron run, so I went through all my feeds, one-by-one, manually updating the feed and deleting any with errors or which generated no new content in the past three months. I double-checked to see each feed was set to update once per hour. I also confirmed that Drupal 7 core cron (poorman's cron) was set to update every hour.

Unfortunately this did not do the trick. I can update feeds manually, but an hour later the feeds will show zero seconds left until the next update and stop there. In other words, it seems that none of my feeds are automatically updating with the cron run.

Thinking that perhaps a server-side cron run may be required, rather than the cron run within Drupal, I set the latter to "never" and then added a cron run through cPanel using the following syntax:

wget -35 * * * 1-5,6,0 http://example.com/cron.php?cron_key=etc

As I understand, this should run cron daily, seven days a week, at 35 minutes past each hour.

Still, however, my feeds are not automatically updating with the cron run, or at any other time for that matter. They only update manually.

Other than the PDO errors mentioned above, I do not see other related errors in my logs. I have observed a couple of malfunctioning feeds I was sure I deleted reappearing. I have deleted them again, and see no related errors.

I am looking for suggestions on troubleshooting this problem. Any tips on what to try to get my feeds to update automatically with cron?

Thank you.


Viewing all articles
Browse latest Browse all 291122

Trending Articles