---
title: "How to set 5-Minutes Time Interval for Updating Feed"
description: "In version 7.4.23 (2024-11-11) of Product Feed Manager, we introduced a filter hook that allows you to set custom time intervals for feed updates. This functionality is ideal for meeting marketplace requirements or tailoring updates to your specific needs. While…"
url: "https://rextheme.com/docs/how-to-set-5-minutes-time-interval-for-updating-feed/"
updated: "2026-01-20"
category: Product Feed Manager / Useful Control Options
---

# How to set 5-Minutes Time Interval for Updating Feed

In version 7.4.23 (2024-11-11) of Product Feed Manager, we introduced a filter hook that allows you to set custom time intervals for feed updates. This functionality is ideal for meeting marketplace requirements or tailoring updates to your specific needs.

While this guide focuses on setting a 5-minute interval, you can adjust the interval based on your preference. However, **we strongly advise against setting excessively frequent intervals**, as they may lead to heavy server loads. The impact of such intervals depends on your server’s specific configuration.

Below is a step-by-step guide to implementing this functionality on your site.

## Step 1: Add Code to Your Theme

To enable the 5-minute interval, you need to add custom code to your WordPress theme.

1. **Locate Your `functions.php` File:**
   - Navigate to the child theme’s `functions.php` file.
   - If a child theme is not available, use the main theme’s `functions.php` file. However, using a child theme is recommended to preserve changes during theme updates.
2. **Insert the Code:** Copy and paste the following code into the `functions.php` file:

   `function modify_rexfeed_hourly_cron_interval() { return 5 * 60; // 5 minutes in seconds}add_filter( 'rexfeed_hourly_cron_interval', 'modify_rexfeed_hourly_cron_interval' );`
3. **Save the Changes:**
   - Save the file after inserting the code.
   - Refresh your website to ensure the changes take effect.

## Step 2: Access WooCommerce Action Scheduler

To ensure the feed interval changes are applied correctly, verify the action scheduler settings:

1. **Navigate to the WooCommerce Action Scheduler Page:**
   - You can find the page by following the URL: `https://{your-site-domain}/wp-admin/admin.php?page=wc-status&tab=action-scheduler&status=pending`
2. **Check Pending Actions:**
   - Look for the scheduled tasks related to the Product Feed Manager.
   - Cancel the already existing `rex_feed_hourly_update` task where the recurrence is set to "**Every 1 hour**"
   - This will refresh the page, and you will see the recurrence updated to "**Every 5 minutes**" (or your custom interval) for the `rex_feed_hourly_update` hook.
   - Like in the screenshot below:

[![5 min interval ](https://rextheme.com/wp-content/uploads/2024/12/Dashboard-‹-wpfmdev-—-WordPress.png)](https://rextheme.com/wp-content/uploads/2024/12/Dashboard-‹-wpfmdev-—-WordPress.png)

### Need Help?

If you encounter any issues while setting up the interval or have questions about the process, feel free to reach out to our [support team](https://rextheme.com/support/). Provide details about your site’s configuration and any error messages you may encounter.

By following this guide, you can optimize feed update intervals to meet your requirements seamlessly.
