How to bulk Enable/Disable WordPress Cron using cPFence Tools?

Manage WP Cron (WebUI Method)

 

  1. Open the cPFence WebUI and choose the server to manage via Switch Server.
  2. Navigate to Tools & UtilitiesWP-AutoShield Bulk Tools.
  3. Toggle Run on specific WordPress sites only if you want to target a subset; otherwise leave it off.
  4. Open Disable Default WordPress Cron to turn off wp-cron.php, or Enable Default WordPress Cron to restore it.
  5. Click the corresponding action button and monitor the streamed results.

Tip: Ensure autoshield_disable_wp_cron is set to ‘Off’ in the Settings page (if it’s currently on), or WP-AutoShield will automatically re-disable it during the next 6:10 AM run.

Command Line (CLI) Method

  1. SSH into the server.
  2. Disable WP Cron everywhere:
    cpfence --bulk-disable-wp-cron
  3. Re-enable it when needed:
    cpfence --bulk-enable-wp-cron

Tip: Pair this with cpfence --bulk-run-due-wp-cron to execute scheduled events on demand.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

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...

How to Clean an Infected WordPress Site?

Has your WordPress site been infected, and cPFence reported malware or other issues? Don’t worry;...

How to Secure Your WordPress Sites with cPFence?

WordPress is a powerful platform, but it can become vulnerable if not properly secured. With...