Option to disable wp-cron and set up crontab
Add an option to WordPress Toolkit to disable wp-cron.php execution and optionally create a real cron job.
You would have to add:
to wp-config.php and than give the admin a choice to set up a cron job with custom times (e.g. every 10Min or 6h).
The ability to disable wp-cron was added in WPT 4.7. Users can enable a switch on each site, disabling wp-cron execution. This will also create a scheduled task in Plesk which you can modify to change the execution frequency.
Server administrators can also choose to enable this feature on all new WordPress sites. This is done on WPT Settings screen.
Could be a switch like DEBUG Mode … but i'D prefer if we could set the intervals too depending on the site ;)
Here the official WorPress Codex:
This is like this other suggestion, but for the Toolkit not Migrations:
WordPress has automatically fetch a cron job with each poll.
With nearly 1,000 users at the same time that it can render your server.
Even with a strong server.
It is possible in the configuration to disable the automatic cron job and outsource.
This could manually insert in Plesk.
I have so imagined that one among the WordPress settings applies the default value of the cron jobs for 10 min. And you can manually select this value from every minute to every day 1x.
So as in the previous Cronjob menu but just in the WordPress configuration of jeweilgen page.
That would be very relevant Performance Technically, even if only for a fraction of the customers.
Since Plesk the entries in the configuration automatically writes, you can also do this with embed and thus help many novice users and remove this annoying work administrators.
This task could possibly even a trainee working with them, because I think that this task is not particularly difficult. (Intricately she is, of course;))
It must be added only in the configuration this line:
define ('DISABLE_WP_CRON', 'true');
And as a cron job you fürgt then added:
Time: User: PHP interpreter: /var/www/vhosts/domain.tld/httpdocs/wp-cron.php
The cron job is permanently activated and starts each time you call.
As a result, that is already placed in the server weniegn users to its limit.
If the cron job is disabled in WordPress and inserts it as a cron job in the crontab this is a fundamental improvement.
When you install Plesk on this setting would be very good.