Title: Critical scheduling bug
Last modified: August 21, 2016

---

# Critical scheduling bug

 *  [Boris Kuzmanovic](https://wordpress.org/support/users/boris-kuzmanovic/)
 * (@boris-kuzmanovic)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/critical-scheduling-bug/)
 * I found a bug which causes this plugin to override existing crons. After installing
   FBCI, my Jetpack emails stopped going out and my post schedules never worked.
 * After applying a fix everything went back to normal. It would be nice to see 
   it in the next release.
 * Open facebook-comments-importer.php and change this function:
 *     ```
       function fbci_schedules() {
           return array(
       		'fifteenminutes' => array(
       			'interval' => 900, /* 60 seconds * 15 minutes */
       			'display' => 'Fifteen minutes'
       		),
       		'halfhour' => array(
       			'interval' => 1800, /* 60 seconds * 30 minutes */
       			'display' => 'Half hour'
       		)
       	);
       }
       ```
   
 * to
 *     ```
       function fbci_schedules($schedules) {
           return array_merge($schedules, array(
       		'fifteenminutes' => array(
       			'interval' => 900, /* 60 seconds * 15 minutes */
       			'display' => 'Fifteen minutes'
       		),
       		'halfhour' => array(
       			'interval' => 1800, /* 60 seconds * 30 minutes */
       			'display' => 'Half hour'
       		)
       	));
       }
       ```
   
 * This fix was reported earlier but was overlooked and closed for some reason [http://wordpress.org/support/topic/plugin-facebook-comments-importer-deletes-other-plugins-schedule-intervals?replies=1](http://wordpress.org/support/topic/plugin-facebook-comments-importer-deletes-other-plugins-schedule-intervals?replies=1)

 The topic ‘Critical scheduling bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-comments-importer.svg)
 * [Facebook Comments Importer](https://wordpress.org/plugins/facebook-comments-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-comments-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-comments-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-comments-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-comments-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-comments-importer/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)
 * [scheduling](https://wordpress.org/support/topic-tag/scheduling/)

 * 0 replies
 * 1 participant
 * Last reply from: [Boris Kuzmanovic](https://wordpress.org/support/users/boris-kuzmanovic/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/critical-scheduling-bug/)
 * Status: not resolved