• Resolved ckloh

    (@ckloh)


    Great plugin, thanks.

    From some old support threads, I gathered that the autosync relies on wpcron. Is that still the case now? Is it still possible to use a server side cron to trigger the sync at a user defined interval?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    the plugin indeed runs via wp-cron.

    You can trigger wp-cron manually (the whole queue, not just our plugin) by setting a normal cron to hit yoursite .com/wp-cron.php

    You can also google to find some other ways to set an external cron job as replacement for the default WordPress cron, as it’s not directly related to our plugin I leave it to you how to do that.

    You can also use WP CLI to trigger UserSync, and that will work much faster and more stable. See https://kb.mc4wp.com/wp-cli-commands-mailchimp-user-sync/ but obviously not everyone has access to WP CLI.

    Hope that helps. If you have any questions, please let us know!

    Thread Starter ckloh

    (@ckloh)

    Thanks!

    I did try triggering wp-cron using a cpanel cron job every 5mins but the autosync didn’t fire for an hour or so.

    Was that delay by design?

    Plugin Contributor Lap

    (@lapzor)

    Usersync runs periodically in the background as there would normally be no need to “overload” the hosting server by constantly checking for changes.

    Also, other things can be in front of it in the WP Cron queue and it will wait for those tasks to finish first. You can see and mange your cron queue via a plugin like Advanced Cron Manager.

    Hope that helps. If you have any questions, please let us know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autosync – how does it work?’ is closed to new replies.