Symptoms
The parameters of the customized wp-cron.php
task in Tools & Settings > Scheduled Tasks are getting overwritten every hour;
Cause
WP-Toolkit > example.com > Disable wp-cron.php option is enabled. When it is enabled, WP-toolkit automatically creates a task in Tools & Settings > Scheduled Tasks. It is allowed to modify only the task’s execution time. In case of any other changes, wp-cron.php
task will be overwritten by the WP-Toolkit, and all the customized values (including time) will be overwritten.
Resolution
Modify only the task’s execution time. In this case, the task will not be overwritten.
If other changes are required:
-
Disable the WordPress > example.com > Disable wp-cron.php option.
NOTE: Please note that enabling wp-cron.php will delete the native wp-cron.php task from Tools & Settings > Scheduled Tasks.
-
Create a new task with the required parameters via Tools & Settings > Scheduled Tasks.