How to Ensure Scheduled Posts and WP-Cron Jobs Run Correctly with WP-AutoShield?

Enhance replaces the native WordPress WP-Cron with its own scheduler to improve performance. As for WP-AutoShield, it has a feature to disable native WP-Cron because sometimes Enhance misses a few sites when making the switch, so we added it to help ensure all sites use Enhance’s better system. If you notice scheduled posts running late or suspect scheduling issues, you can force-run any due cron events as follows.

CLI Method : Run Due WP-Cron from the Command Line

To immediately process all pending WordPress cron jobs across your cluster, run:

cpfence --bulk-run-due-wp-cron

To automate this daily, add this to your root crontab (crontab -e):

0 7 * * * /opt/cpfence/app/setup/cpfmain --bulk-run-due-wp-cron -y >/dev/null 2>&1

WebUI Method : Run Due WP-Cron from the WebUI

You can also use the built-in WebUI tool to trigger due cron jobs cluster wide in one click without SSH:

 

 

 

  1. Log in to the cPFence WebUI.
  2. Navigate to Tools & UtilitiesWP-AutoShield Bulk Tools.
  3. Click Run Due WP Cron.

This will force any overdue events to run immediately cluster wide in one click.

 


Need Further Assistance?

If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.

 

  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How to Perform and Export Wordpress Vulnerability Scans with cPFence?

cPFence provides powerful tools for identifying and analyzing Wordpress vulnerabilities. With the...

How to Generate a List of All WordPress Sites on Your Server?

cPFence provides an easy way to generate a comprehensive list of all WordPress sites on your...

How to Quickly Identify Infected WordPress Sites Using cPFence?

cPFence makes it easy to identify and clean infected WordPress sites on your server. Follow the...

Why Doesn’t WP AutoShield Include a Custom Login URL Feature?

WP AutoShield focuses on robust and effective security measures for WordPress sites, but it does...

Does WP AutoShield Cause Issues with WP-Cron?

The short answer is no, WP AutoShield will not cause issues with WP-Cron. Here's why: Enhance...