We also set the DISABLE_WP_CRON constant to true, intentionally of course.
A “hide” option for this WP_Cron warning would be nice. This can be saved similar to how other modules or plugins save notification states (as a simple user_meta flag in the db).
As you may be aware, scheduled tasks run dependent on traffic to your site. For critical background tasks that need to run regardless of traffic, the normal alternative is to setup a real cronjob and having it run https://www.example.com/wp-cron.php?doing_wp_cron at needed intervals.
For example:
* * * * * wget -q -O - https://www.example.com/wp-cron.php?doing_wp_cron
… will run that job once per minute.
In our case we need to query an external server for company memo’s and trigger push notifications to mobile devices as the memo’s came in. If a memo is pushed out after working hours and no one is using the WordPress site, the memo notifications weren’t being sent until some traffic was generated. This could be two days later if we’re talking about a weekend!
The current WordPress mechanism to schedule tasks, although nifty, has it’s limitations. Using an actual cronjob solves this issue. But now there is a warning in the admin which doesn’t go away. There should be at least a hide option.
Just my two cents.