Manage the WP-Cron setting on your WordPress website
Definitions
WP-Cron is a feature in WordPress that schedules and runs automated tasks for your website.
Before you start
✅ Your WP-Cron setting is controled from within your wp-config.php file.
⚠️ By default, WordPress doesn’t have WP-Cron enabled, but you can easily activate it if needed.
ℹ️ Activate WP-Cron only if required by your theme, plugin, or specific technical needs.
Step by step
If you get a message on your WordPress admin dashboard along the lines of ‘Crons are disabled on your server. Crons must be enabled….‘ use the steps below to activate WP-Cron on your WordPress website.
1. Open this guide and follow all the steps: Manage your wp-config.php file
2. Inside of your wp-config.php file, scroll and find this snippet section:
define('DISABLE_WP_CRON', true);
3. Delete the word true and put in false in its place. When edited, the snippet should look like this:
define('DISABLE_WP_CRON', false);
🚨Note: If you do not see an existing code snippet, simply scroll to the bottom of your wp-config.php file until you find an empty space. Then, put it in the following snippet:
define('DISABLE_WP_CRON', false);
4. Once you’ve edited and/or put in the snippet, click the Save File button and then X on your wp-config.php file to close the session
5. Return to your WordPress admin dashboard and refresh your page, the ‘Crons‘ message should be gone now