When running WordPress Cron manually, it shows WP-Cron spawning is disabled. What is WP-Cron spawning?
I use Ubuntu 20.04 LEMP stack VPS. In this server, I run 13 WordPress sites. Every 10 minutes I have set up to run each site cron job with a 20 seconds interval. So every site does not execute cron jobs exact same time.
I edited crontab using the following command.
crontab -u www-data -e
When I go to the WordPress cron event plugin page, it shows The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.
What is WP-Cron spawning? and can I enable it while using define('DISABLE_WP_CRON', true);
my crontab script sample.
while ! wget -q -O - https://example.com/wp-cron.php?doing_wp_cron /dev/null 21 ; do sleep 2 ; done ; echo ok