Title: Adding a custom cron interval
Last modified: November 25, 2016

---

# Adding a custom cron interval

 *  Resolved [msrm](https://wordpress.org/support/users/msrm/)
 * (@msrm)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/adding-a-custom-cron-interval/)
 * Hi,
 * I have tried using the code here – [https://docs.wprssaggregator.com/add-a-custom-cron-interval/](https://docs.wprssaggregator.com/add-a-custom-cron-interval/)
   and amended it as follows to create a 3 hour interval:
 * add_filter( ‘cron_schedules’, ‘cron_add_3h’ );
 * function cron_add_3h( $schedules ) {
    $schedules[‘3 hours’] = array( ‘interval’
   => 10800, // 60sec*60min*3hours ‘display’ => __( ‘3 hours’ ) ); return $schedules;}
 * However, it’s not appearing as an option in my settings.
 * Have I done something wrong?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * (@erricgunawan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/adding-a-custom-cron-interval/#post-8487031)
 * Hi [@msrm](https://wordpress.org/support/users/msrm/),
 * Could you please let us know the following information:
    1. Where did you put that filter on your site?
    2. Have you checked your individual Feed Source setting? Since the custom interval
       will be added to this and not to the general setting
 *  Thread Starter [msrm](https://wordpress.org/support/users/msrm/)
 * (@msrm)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/adding-a-custom-cron-interval/#post-8488330)
 * Hi,
 * 1. I placed it in Tools > Shortcodes, Actions and Filters plugin and checked 
   the Activate checkbox.
 * 2. Yes, I have tried adding a new as well as editing an existing feed source 
   but it doesn’t appear as an option.
 *  [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * (@erricgunawan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/adding-a-custom-cron-interval/#post-8508917)
 * Hi [@msrm](https://wordpress.org/support/users/msrm/)
 * It would seem that the filter needs to be placed on your theme/child theme’s `
   functions.php`
 * Somehow when we placed that filter on Tools > Shortcodes, Actions and Filters,
   it didn’t work for us either.
 * Could you please check and confirm ?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding a custom cron interval’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/adding-a-custom-cron-interval/#post-8508917)
 * Status: resolved