-
Notifications
You must be signed in to change notification settings - Fork 67
WP CRON scheduler
Welcome to the guide on using the WP CRON Scheduler with the MailChimp for WooCommerce Integration. This guide will help you understand how to configure a cron job that simulates server traffic to activate the WP CRON scheduled events.
Some sites with less traffic might need to configure a cron job that runs every minute. This simulates traffic on the server, activating the WP CRON scheduled events. This is particularly useful for triggering background jobs that the Action Scheduler needs to complete.
You can configure a cron job by adding the following to your CPanel or CRONTAB, depending on what your host allows:
*/1 * * * * wget -q -O - https://site.com/wp-cron.php?doing_wp_cron
By doing this, the Action Scheduler will be able to trigger these background jobs all day, regardless of your site traffic. This approach is recommended because the Action Scheduler needs to be triggered by normal site traffic in regular mode.
You may also consider using the CLI version, which is known to be much more performant. You can find instructions on how to do this here.