Introduction
The purpose of this article is to provide guidance on setting up a regular run of wp-cron.php with WordPress Toolkit.
Procedure
You can disable the regular WordPress cron and instead run the WordPress Toolkit cron regularly instead.
- In cPanel » WordPress Toolkit, choose the WordPress installation you want to disable the default
wp-cron.php
execution. - Turn on “Take over wp-cron.php” on the installation card.
WordPress Toolkit will automaticall create a replacement scheduled task. It will now run wp-cron.php
every 30 minutes by default.
In the following cases, you may not need a replacement task:
- You already have or planning to have your own replacement task.
- You do not need any replacement task because running
wp-cron.php
has a negative impact on your website.
To choose not to create a replacement task or delete the one already created by WordPress Toolkit, click the tuning icon and turn off “Create a replacement task when takeover is initiated”.
(Optional) You may want to run wp-cron.php
on a different schedule. To do so, click the tuning icon and, next to “Create a replacement task…”, click the tuning icon. This will open a new Plesk tab with scheduled tasks. Change the default 30-minute interval, and then save changes.