Bug #9929


External Group Blogs cron review

Added by Boone Gorges over 5 years ago. Updated over 5 years ago.

Priority name:
Category name:
WordPress Plugins
Target version:
Start date:
Due date:
% Done:


Estimated time:
Deployment actions:


A couple problems with External Group Blogs cron:

1. Up until a few minutes ago, the plugin was available to be activated on any site on the Commons. A few members had gone through and activated pretty much every single available plugin (a different problem!) and the Cavalcade logs show that the imports taking place on those sites are very slow. So the plugin should be hidden for users, and then removed from those sites.

2. The cron routine can be very long running. I'll see what can be done about breaking it into groups or even specific feeds.

Related issues

Related to CUNY Academic Commons - Feature #8987: Migrate away from wp-cronResolvedBoone Gorges2017-12-07

Actions #1

Updated by Boone Gorges over 5 years ago

Actions #2

Updated by Boone Gorges over 5 years ago

I've deactivate the plugin from the handful of sites where it was running.

The plugin has been hidden from plugins.php in and is effective immediately on the production site.

Actions #3

Updated by Boone Gorges over 5 years ago

  • Status changed from New to Resolved

Looking more closely at how this plugin works, there are two feed refresh mechanisms.

1. When a group is loaded on the front end, the plugin detects whether the group has a fetch pending, and then sets up an AJAX routine to fetch feeds just for that group.
2. An hourly cron job runs to check feeds across all groups.

For some reason, the cron job (2) was running on secondary sites where the plugin was erroneously activated, but is not scheduled on site 1. Since it's the cron job that causes problems (it fetches feeds for all groups instead of a single one), and since we haven't gotten reports of problems related to this behavior, I think we can safely leave the cron job unscheduled on the main site.

While looking, I spotted a minor improvement to the plugin, which prevents the AJAX routine (1) when the current group has no feeds to fetch. See


Also available in: Atom PDF