Title: Modifying sync method and schedule?
Last modified: August 22, 2016

---

# Modifying sync method and schedule?

 *  Resolved [dinchamion82](https://wordpress.org/support/users/dinchamion82/)
 * (@dinchamion82)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/)
 * Hey,
 * Is there a way to adjust the sync frequency, so instead of every 24 hours, trigger
   a sync every hour or similar?
 * Also, connected to this, what method does the plugin use for sync? WP-Cron? What
   happens if I replaced wp-cron with a crontab job on my server?
 * [https://wordpress.org/plugins/tumblr-crosspostr/](https://wordpress.org/plugins/tumblr-crosspostr/)

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172222)
 * Not in the GUI. Feel free to dig around in the code: [https://plugins.trac.wordpress.org/browser/tumblr-crosspostr/tags/0.7.14/tumblr-crosspostr.php#L1193](https://plugins.trac.wordpress.org/browser/tumblr-crosspostr/tags/0.7.14/tumblr-crosspostr.php#L1193)
 *  [Maxmalte](https://wordpress.org/support/users/maxmalte/)
 * (@maxmalte)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172236)
 * You are talking aboutthe sync from tumblr to wp?
 * If you find a solution, it would be very kind if you publish it here. 🙂
 * I would really appreciate!
 *  [Maxmalte](https://wordpress.org/support/users/maxmalte/)
 * (@maxmalte)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172237)
 * PS: Or is it possible to start the synch from tumblr post to wp by hand?
 *  Thread Starter [dinchamion82](https://wordpress.org/support/users/dinchamion82/)
 * (@dinchamion82)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172246)
 * Meitar: thanks, I’m testing it now!
 * Maxmalte: I’m testing the first version of my mod, will post when it’s working!
   For the second question: probably not, since the sync is triggered from the plugin
   in WP.
 *  Thread Starter [dinchamion82](https://wordpress.org/support/users/dinchamion82/)
 * (@dinchamion82)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172253)
 * Ok, so I edited the file (tumblr-crosspostr.php) Meitar, and as per the WP documentation(
   [http://codex.wordpress.org/Function_Reference/wp_schedule_event](http://codex.wordpress.org/Function_Reference/wp_schedule_event))
   modified the wp_schedule_event function.
 * (I didn’t experiment with it or set up more values – went with the ‘hourly’ setting.)
 * I had to disconnect the connection to Tumblr and set up a new oAuth app, but 
   it’s now working perfectly, initiating sync every hour.
 * Thank you for the help!
 *  [Maxmalte](https://wordpress.org/support/users/maxmalte/)
 * (@maxmalte)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172254)
 * Thank you [@dinchamion82](https://wordpress.org/support/users/dinchamion82/)…
   🙂
 * Changed line 1201 from
    `wp_schedule_event(time(), 'daily', $this->prefix . '
   _sync_content',` to `wp_schedule_event(time(), 'hourly', $this->prefix . '_sync_content',`
   🙂
 *  [Alundra](https://wordpress.org/support/users/alundra/)
 * (@alundra)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172422)
 * I changed that line and it’s not doing it hourly. It’s barely doing it daily :(.

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

The topic ‘Modifying sync method and schedule?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tumblr-crosspostr.svg)
 * [Tumblr Crosspostr](https://wordpress.org/plugins/tumblr-crosspostr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tumblr-crosspostr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tumblr-crosspostr/)
 * [Active Topics](https://wordpress.org/support/plugin/tumblr-crosspostr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tumblr-crosspostr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tumblr-crosspostr/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Alundra](https://wordpress.org/support/users/alundra/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/modifying-sync-method-and-schedule/#post-5172422)
 * Status: resolved