• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Disable wp-cron

wwwAndries

New Pleskian
When you disable the wp-cron in the wp-toolkit, there is also a scheduled task generated to execute the system cron. Is it possible to disable the automatic creation of this task?
I've my own system cron running and don't need/want these tasks.

What does this variable do: 'useShiftCronUpdateTask'?
 
There is no option to disable the cron completely via WordPress Toolkit. When disabling wp-cron, toolkit creates a scheduled task to cover scheduled activities on a website. If you will remove the scheduled task, it will be re-created automatically.
 
Actually, you can try to turn off maintenance activities that re-create a scheduled task:

[ext-wp-toolkit]
wpCronDisablingMaintenance = true

But anyway, you will need to remove an automatically created task first.
 
There is no option to disable the cron completely via WordPress Toolkit. When disabling wp-cron, toolkit creates a scheduled task to cover scheduled activities on a website. If you will remove the scheduled task, it will be re-created automatically.
Yes, I know, but I don't the toolkit re-created the task automatically. I disable the wp-cron default with the installation of WordPress and I've a wp-cli script that runs the cron for each site 2 times an hour without further configuration. This worked fine until the option to disable the wp-cron from within the wp-toolkit appeared.
 
> What does this variable do: 'useShiftCronUpdateTask'?

Could you please clarify, where did you see this option?
 
Actually, you can try to turn off maintenance activities that re-create a scheduled task:

[ext-wp-toolkit]
wpCronDisablingMaintenance = true

But anyway, you will need to remove an automatically created task first.
> What does this variable do: 'useShiftCronUpdateTask'?

Could you please clarify, where did you see this option?
Panel.ini

[ext-wp-toolkit]useShiftCronUpdateTasktrue
 
You can completely disable the feature:

[ext-wp-toolkit]
wpCronDisablingAllowed = false

In this case, wp-cron management control will disappear in the user interface.
 
I do not see an option 'useShiftCronUpdateTask' in WordPress Toolkit configuration. It seems like the documentation is a bit outdated. Could you please give me a link on the document where it's present?
 
This doesn't work, cronjobs are still recreated.
[ext-wp-toolkit]
wpCronDisablingMaintenance = true


Disabling or re-schedudling (i.e. once a year) the cronjobs doesn't work either, wp-toolkit will enable the jobs again or create a new one. Sometimes even multiple cronjobs for one site. I've a subscription with 3 sites/domains and there are 10 jobs created!
 
This is really weird. I would like to suggest to create a support ticket for investigation directly on your server.
 
Back
Top