Requirements

Requirements

Please check the following recommended requirements:

Automated tasks

The Email Schedule add on is designed in such a way that it runs automatically in the background each morning.

As a result, we need automated tasks in WordPress to be working.

How automated tasks work in WordPress

By default WordPress has it's own in-built automated tasks management service called WP-Cron.

The WordPress docs cover this in more but, in a nutshell, it relies on visitors to the site in order to trigger an automated task firing.

This means that if the site isn't visited all day, it won't fire and no email schedules will be sent.

Changing to a Linux cron job

If you're looking for reliable execution of tasks without needing to wait for a visitor to the site, setting up a Linux cron job is the best approach.

Although it requires a level of technical expertise there are hundreds of guides about how to do this online:

https://easyengine.io/tutorials/wordpress/wp-cron-crontab/

https://kinsta.com/knowledgebase/wordpress-cron-job/#how-to-add-a-cron-job-using-cpanel

https://www.hostgator.com/help/article/how-to-replace-wordpress-cron-with-a-real-cron-job

Alternatively, any good hosting company should be able to set this up on your behalf.

Debugging automated tasks not running

By far the best way to debug issues with automated tasks not firing is to use a plugin called WP Crontrol.

With the WP Crontrol plugin installed and activated you can navigate to 'Tools > Cron Events' in WordPress where it will show you all the scheduled tasks, but more importantly, if there are any errors with these tasks firing or if they're overdue:

If the plugin reports issues then the solution is to either:

  1. Speak to your hosting company. The reason the automated tasks can't fire is down to the server/hosting.
  2. Change to use a Linux cron job.