Jump to content

Automatic feed updates

Feeds are automatically updated via a Schedular Task

MPC-RSS Logo

Scheduler (recommended)

  1. Go to System > Scheduler > Add Task
  2. Select ‘Update RSS feeds’ and set it to ‘Recurring’
  3. Set the frequency (e.g. */30 * * * *) and the cache lifetime (e.g. 3600)
  4. Click the play icon to test

CLI

 
vendor/bin/typo3 mpcrss:updatefeeds
vendor/bin/typo3 mpcrss:updatefeeds --clear-cache
vendor/bin/typo3 mpcrss:updatefeeds --cache-lifetime=7200
 

As a crontab entry:

 
*/30 * * * * cd /path/to/typo3 && vendor/bin/typo3 mpcrss:updatefeeds
 

Cache isolation

The RSS cache (mpc_rss) is independent of the page and system caches:

ActionRSS cachePage/System cache
Scheduler/CLI runsUpdatedUnchanged
Clear page cacheUnchangedDeleted
cache:flush --group=mpc_rssDeletedUnchanged

Recommended intervals

Feed typeUpdate frequencyCache lifetime
News15 mins1800 s
Blogs30 mins3600 s
Daily summary60 mins7200 s

Set the cache lifetime to be at least as long as the update frequency, so that visitors always access an up-to-date cache.

Troubleshooting

Scheduler not running – Check whether the scheduler’s own cron job is active: */5 * * * * vendor/bin/typo3 scheduler:run

Feeds are not being updated – Force a new fetch:

 
vendor/bin/typo3 mpcrss:updatefeeds --clear-cache
 

Check ‘System > Log’ and filter by component mpc_rss for errors.

Share page