/**
  * @return void
  */
 public static function reset_scheduler()
 {
     if (!empty(self::$scheduler)) {
         self::$scheduler->remove_hooks();
     }
     self::$scheduler = new Tribe__Events__Pro__Recurrence_Scheduler(tribe_get_option('recurrenceMaxMonthsBefore', 24), tribe_get_option('recurrenceMaxMonthsAfter', 24));
     self::$scheduler->add_hooks();
 }