Title: Plugin CRON conflict with JetPack
Last modified: April 26, 2021

---

# Plugin CRON conflict with JetPack

 *  Resolved [crystalfyre](https://wordpress.org/support/users/crystalfyre/)
 * (@crystalfyre)
 * [5 years ago](https://wordpress.org/support/topic/plugin-cron-conflict-with-jetpack/)
 * Hello.
 * I’ve been developing a plugin for a client of mine, and are using and want to
   continue using JetPack (“to track their data and security”, which they aren’t
   using at the moment).
 * My plugin runs once a day to collect offsite Real Estate data to import to their
   website, by creating a new “Property” post for each piece of data. Then, once
   every 10 minutes, it will run through a batch job to insert this data into their
   website.
 * Unfortunately, whenever my plugin runs, it ends up getting interrupted by JetPack
   and ends up hanging.
 * When I developed it on my local server, it actually could run for hours at a 
   time without issue, but whenever I install it on a server with JetPack, it ends
   up dying. In fact, I had to switch to the every 10 minute batch jobs because 
   I thought their server couldn’t handle the code and would hang, but now I know
   it seems to be a conflict with JetPack.
 * I check the error logs when it hangs, and it’s blasted by 72 lines of errors 
   all in ONE SECOND saying that “**WordPress database error Commands out of sync;
   you can’t run this command now for query**“, all about JetPack ( _made by shutdown\
   _action\_hook, do\_action(‘shutdown’)_ ).
 * I have no clue why this is happening, and I want to fix it so my client can be
   happy.
 * JetPack is completely outside of my area of expertise, and I have no clue why
   it’s doing this.
 * I’ve read other support topics about similar issues, and all that was mentioned
   was that it “_may occur when the MySQL data is left in an inconsistent state_“,
   however that is really really vague. It can really mean anything.
 * Please help.

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

 *  Plugin Support [Jen H. (a11n)](https://wordpress.org/support/users/jennywp/)
 * (@jennywp)
 * [5 years ago](https://wordpress.org/support/topic/plugin-cron-conflict-with-jetpack/#post-14376044)
 * Hi [@crystalfyre](https://wordpress.org/support/users/crystalfyre/),
 * Unfortunately, this is well outside the [Scope of Support](https://jetpack.com/support/scope-of-support/)
   that we can offer. However, you might find some help on the Jetpack GitHub repo:
 * [https://github.com/Automattic/jetpack/issues/new/choose](https://github.com/Automattic/jetpack/issues/new/choose)
 * Cheers.
    -  This reply was modified 5 years ago by [Jen H. (a11n)](https://wordpress.org/support/users/jennywp/).
 *  Thread Starter [crystalfyre](https://wordpress.org/support/users/crystalfyre/)
 * (@crystalfyre)
 * [5 years ago](https://wordpress.org/support/topic/plugin-cron-conflict-with-jetpack/#post-14376307)
 * Thanks anyway…

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

The topic ‘Plugin CRON conflict with JetPack’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [out of sync](https://wordpress.org/support/topic-tag/out-of-sync/)

 * 2 replies
 * 2 participants
 * Last reply from: [crystalfyre](https://wordpress.org/support/users/crystalfyre/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/plugin-cron-conflict-with-jetpack/#post-14376307)
 * Status: resolved