WooCommerce Email Center uses event scheduling system to send scheduled emails. This system depends on WordPress Cron to operate properly.
WordPress Cron can run on two occasions:
- When someone loads a page (WordPress runs Cron after the page is output to the browser)
- When WordPress Cron is invoked automatically by a predefined server cron tab entry
You must configure the latter if you plan to use scheduled emails and want to ensure that all emails are sent on time and not, for example, in the middle of the night.
To run WordPress Cron automatically, add the following entry to your server's cron tab:
*/5 * * * * wget http://www.yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Change yourdomain.com to actual domain of your website. This will run WordPress Cron every 5 minutes.
If you are unsure how to add a new cron tab entry, you may wish to contact your server administrator or hosting provider.
In additional, you are also advised to disable cron on regular page loads by adding the following line (or editing existing) to your wp-config.php file: