WP Crontrol

Description

WP Crontrol enables you to take control of the scheduled cron events on your WordPress website or WooCommerce store. From the admin screens you can:

  • View all scheduled cron events along with their arguments, schedule, callback functions, and when they are next due.
  • Edit, delete, pause, resume, and immediately run cron events.
  • Ajouter de nouveaux Ă©vĂšnements cron.
  • Suppression en masse d’évĂšnements cron.
  • Ajouter et retirer des planifications cron personnalisĂ©es.
  • Export and download cron event lists as a CSV file.

WP Crontrol is aware of timezones, will alert you to events that have no actions or that have missed their schedule, and will show you a helpful warning message if it detects any problems with your cron system.

Utilisation

  1. Allez dans le menu Outils ÉvĂšnements Cron pour gĂ©rer les Ă©vĂšnements cron.
  2. Allez dans le menu Réglages Fréquences Cron pour gérer les récurrences cron.

Documentation

Extensive documentation on how to use WP Crontrol and how to get help for error messages that it shows is available on the WP Crontrol website.

For site owners

Owners of WordPress websites and WooCommerce stores use WP Crontrol to ensure that scheduled cron events run correctly and efficiently. By providing complete control over cron events, WP Crontrol helps you:

  • Improve reliability: Address missed or failed cron events, ensuring your website or WooCommerce store continues to function as expected.
  • Enhance security: Monitor and control cron events to ensure automatic update checks are performed as they should.
  • Simplify management: Add, edit, delete, and pause cron events from a user-friendly interface, without needing to write any code.
  • Gain insights: Export cron event data for analysis or reporting.
  • Action Scheduler compatibility: Full support for the Action Scheduler system in WooCommerce, which is used to process recurring payments, subscriptions, and background orders.
  • Clarity of times and timezones: All times are shown with a clear and accurate indication of which timezone applies. No more guesswork!

For developers

Developers use WP Crontrol to streamline and debug their WordPress development process:

  • Enhanced debugging: Identify and troubleshoot issues with scheduled tasks, ensuring your scheduled events and their callbacks run as expected.
  • Custom schedules: Create and manage custom cron schedules to fit the specific needs of your website, plugins, or themes, providing greater flexibility than just the core schedules.
  • Efficient workflow: Add, edit, and delete cron events directly from the WordPress admin interface, saving time and reducing the need for manual coding.
  • Insightful monitoring: Get insight into the performance and behavior of your scheduled tasks, allowing for optimization and better resource management.
  • Accurate debugging: WP Crontrol goes to great lengths to ensure that running an event manually does so in a manner which exactly matches how WordPress core runs schdeuled events. This ensures that you can debug events accurately and with confidence.

Autres extensions

Je maintiens plusieurs autres extensions pour les développeurs/développeuses. Découvrez-les ici :

  • Query Monitor est le panneau des outils de dĂ©veloppement pour WordPress.
  • User Switching permet de passer instantanĂ©ment d’un compte Ă  l’autre dans WordPress.

Privacy Statement

WP Crontrol is private by default and always will be. It does not send data to any third party, nor does it include any third party resources. WP Crontrol’s full privacy statement can be found here.

Accessibility Statement

WP Crontrol aims to be fully accessible to all of its users. WP Crontrol’s full accessibility statement can be found here.

Captures d’écrans

  • Cron events can be modified, deleted, and executed
  • New cron events can be added
  • New cron schedules can be added, giving plugin developers more options when scheduling events

FAQ

L’extension fonctionne-t-elle avec PHP 8 ?

Yes, it’s actively tested and working up to PHP 8.4.

Je reçois l’erreur « Il y a eu un problĂšme lors du dĂ©clenchement d’un appel au systĂšme WP-Cron sur votre site. ». Comment puis-je corriger ce problĂšme ?

You can read all about problems spawning WP-Cron on the WP Crontrol website.

Pourquoi certains évÚnements cron manquent-ils leur planification ?

You can read all about cron events that miss their schedule on the WP Crontrol website.

Pourquoi certains évÚnements cron réapparaissent-ils peu aprÚs leur suppression ?

If the event is added by a plugin then the plugin most likely rescheduled the event as soon as it saw that the event was missing. To get around this you can instead use the « Pause this hook » action which means it’ll remain in place but won’t perform any action when it runs.

Est-il possible de supprimer les évÚnements cron en toute sécurité ?

Cela dĂ©pend entiĂšrement de l’évĂšnement. Vous pouvez utiliser votre moteur de recherche prĂ©fĂ©rĂ© pour rechercher le nom de l’évĂšnement afin de trouver Ă  quelle extension il appartient, et dĂ©cider ensuite de le supprimer ou non.

Si l’évĂšnement affiche « Aucune » comme action, il est gĂ©nĂ©ralement sans risque de le supprimer. Veuillez consulter les autres FAQ pour plus d’informations sur les Ă©vĂšnements sans action.

Pourquoi ne puis-je pas supprimer certains évÚnements cron ?

Le cƓur WordPress utilise des Ă©vĂšnements cron pour certaines de ses fonctionnalitĂ©s. La suppression de ces Ă©vĂšnements n’est pas possible, car WordPress les re-planifierait immĂ©diatement si vous les supprimiez. Pour cette raison, WP Crontrol ne vous permet pas de supprimer ces Ă©vĂšnements persistants du cƓur de WordPress.

If you don’t want these events to run, you can use the « Pause this hook » action instead.

What happens when I pause an event?

Pausing an event will disable all actions attached to the event’s hook. The event itself will remain in place and will run according to its schedule, but all actions attached to its hook will be disabled. This renders the event inoperative but keeps it scheduled so as to remain fully compatible with events which would otherwise get automatically rescheduled when they’re missing.

As pausing an event actually pauses its hook, all events that use the same hook will be paused or resumed when pausing and resuming an event. This is much more useful and reliable than pausing individual events separately.

What happens when I resume an event?

Resuming an event re-enables all actions attached to the event’s hook. All events that use the same hook will be resumed.

Que signifie « Aucune » pour l’action d’un Ă©vĂšnement cron ?

Cela signifie que l’évĂšnement cron est programmĂ© pour s’exĂ©cuter Ă  l’heure spĂ©cifiĂ©e, mais qu’aucune fonction ne sera dĂ©clenchĂ©e lorsque l’évĂšnement s’exĂ©cutera, ce qui rend l’évĂšnement inutile.

You can read all about events with no action on the WP Crontrol website.

How do I change the next run time or the schedule of a cron event?

You can change the time and schedule of a cron event by clicking the « Edit » link next to the event.

Pourquoi les modifications que j’apporte Ă  certains Ă©vĂšnements cron ne sont-ils pas enregistrĂ©es ?

You can read all about problems with editing cron events on the WP Crontrol website.

Puis-je exporter une liste d’évĂšnements cron ?

Yes, a CSV file of the event list can be exported and downloaded via the « Export » button on the cron event listing screen. This file can be opened in any spreadsheet application.

Puis-je voir le journal des évÚnements cron qui ont été exécutés sur mon site ?

Pas encore, mais j’espĂšre ajouter cette fonctionnalitĂ© bientĂŽt.

Puis-je voir le journal des modifications, ajouts et suppressions d’évĂšnements et planifications cron ?

Oui. L’excellente extension Simple History dispose d’un support intĂ©grĂ© pour la journalisation des actions effectuĂ©es via WP Crontrol.

À quoi sert d’ajouter de nouvelles frĂ©quences cron ?

Les frĂ©quences Cron sont utilisĂ©s par WordPress et les extensions pour planifier des Ă©vĂšnements Ă  exĂ©cuter Ă  intervalles rĂ©guliers. Les intervalles doivent ĂȘtre fournis par le cƓur de WordPress ou par une extension pour pouvoir ĂȘtre utilisĂ©es. Par exemple, de nombreuses extensions de sauvegarde prennent en charge les sauvegardes rĂ©currentes. Pour effectuer une sauvegarde hebdomadaire, une frĂ©quence cron hebdomadaire doit d’abord ĂȘtre saisie dans WP Crontrol, une extension de sauvegarde peut alors l’utiliser comme frĂ©quence d’exĂ©cution.

Comment créer un nouvel évÚnement cron ?

Il y a deux Ă©tapes pour obtenir un Ă©vĂšnement cron fonctionnel qui s’exĂ©cute rĂ©guliĂšrement. La premiĂšre Ă©tape consiste Ă  informer WordPress de l’existence du crochet. C’est l’élĂ©ment que WP Crontrol a créé pour le dĂ©clenchement. La deuxiĂšme Ă©tape consiste Ă  appeler une fonction lorsque votre crochet est exĂ©cutĂ©.

Step One: Adding the event

From the Tools Cron Events menu, click on Add Cron Event. Fill out the details of the event. You’re best off using a hook name that conforms to normal PHP variable naming conventions. The schedule is how often the event will be executed. If you don’t see a good interval, then add one in the Settings Cron Schedules menu.

DeuxiÚme étape : écrire la fonction

Cette partie se dĂ©roule dans le code PHP (par exemple, dans le fichier functions.php de votre thĂšme). Pour exĂ©cuter votre crochet, WordPress exĂ©cute une action. C’est pourquoi, nous devons indiquer Ă  WordPress quelle fonction doit ĂȘtre exĂ©cutĂ©e lorsque cette action est exĂ©cutĂ©e. La ligne suivante accomplit cela :

add_action( 'my_hookname', 'my_function' );

L’étape suivante consiste Ă  Ă©crire la fonction. Voici un exemple simple :

function my_function() {
    wp_mail( 'hello@example.com', 'WP Crontrol', 'WP Crontrol rocks!' );
}

Comment puis-je créer un évÚnement cron qui sollicite une URL ?

From the Tools Cron Events menu, click on Add Cron Event. Select the « URL cron event » option, fill out the details, and press the « Add Event » button.

You can read all about the features and security of URL cron events on the WP Crontrol website.

Comment créer un nouvel évÚnement cron PHP ?

From the Tools Cron Events menu, click on Add Cron Event. Select the « PHP cron event » option and enter the schedule and next run time. The event schedule is how often your event will be executed. If you don’t see a good interval, then add one in the Settings Cron Schedules menu. In the « PHP Code » area, enter the PHP code that should be run when your cron event is executed. You don’t need to provide the PHP opening tag (<?php).

Creating, editing, and running PHP cron events is subject to restrictive security permissions. You can read all about the features and security of PHP cron events on the WP Crontrol website.

Quels comptes peuvent gérer les évÚnements et les planifications cron ?

Uniquement les comptes disposant de la capacité manage_options peuvent gérer les évÚnements et les fréquences Cron. Par défaut, uniquement les administrateurs/administratrices disposent de cette capacité.

Quels comptes peuvent gérer les évÚnements cron de PHP ? Est-ce dangereux ?

Only users with the edit_files capability can manage PHP cron events. This means if a user cannot edit files via the WordPress admin area (i.e. through the Plugin Editor or Theme Editor) then they also cannot add, edit, or delete a PHP cron event in WP Crontrol. By default only Administrators have this capability, and with Multisite enabled only Super Admins have this capability.

If file editing has been disabled via the DISALLOW_FILE_MODS or DISALLOW_FILE_EDIT configuration constants then no user will have the edit_files capability, which means adding, editing, or deleting a PHP cron event will not be permitted.

Par consĂ©quent, le niveau d’accĂšs du compte requis pour exĂ©cuter un code PHP arbitraire ne change pas avec WP Crontrol activĂ©.

If the CRONTROL_DISALLOW_PHP_EVENTS constant is defined and set to true, then PHP cron events will be disabled completely. Any existing PHP cron events will remain in place (and can be deleted if user permissions allow) but their PHP code will not be executed when the event runs, and no PHP cron events can be added, edited, or run.

You can read all about the features and security of PHP cron events on the WP Crontrol website.

Des commandes WP-CLI sont-elles disponibles ?

The cron commands which were previously included in WP Crontrol are now part of WP-CLI itself. See wp help cron for more info.

What happens when I deactivate the WP Crontrol plugin?

You can read all about what happens when you deactivate the plugin on the WP Crontrol website.

How can I report a security bug?

You can report security bugs through the official WP Crontrol Vulnerability Disclosure Program on Patchstack. The Patchstack team helps validate, triage, and handle any security vulnerabilities.

Qui a pris la photo de l’image d’en-tĂȘte de l’extension ?

La photo a été prise par Michael Pardo. Elle est dans le domaine public.

Avis

10 février 2026 4 réponses
Not currently working for me, but developer points out that the issue is probably at my site rather than with the app. Which I will, of course, look into.
8 février 2026
Always use this plugin to debug my cron jobs. It’s extremely simple and easy to use.
4 décembre 2025
during last summer, I was having an almost impossible problem of my tables that would Stop rendering after around 24 hours, initially I thought it was a Cloudflare issue , so I spent weeks excluding rules from caching. It was not until I installed WPCron did it learn that Elementor was running one particular Cron job that were completely unrelated to any of the material or topic which was breaking the rendering of the tables . I literally worked on addressing this bug on and off for several months . it was eye opening to see the number of Cron jobs that WordPress plugins run . And for a a free plugin , I think it is a must have tool to have , I would even consider making it part of core. Thank You . 😊
Lire les 163 avis

Contributeurs/contributrices & développeurs/développeuses

« WP Crontrol » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“WP Crontrol” a Ă©tĂ© traduit dans 24 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « WP Crontrol » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dĂ©pĂŽt, ou s’inscrire au journal de dĂ©veloppement par RSS.

Journal des modifications

1.21.0 (28 January 2026)

  • Adds support for invalid args in cron events by relaxing the strict typing and showing a warning on the listing and editing screens.

1.20.0 (17 December 2025)

  • Confirms support for WordPress 6.9
  • Minor UI and UX improvements
  • Some architectural changes to prepare for future enhancements

1.19.3 (23 October 2025)

  • Corrects the handling of closures as cron event actions.

1.19.2 (19 August 2025)

  • Security: Hardens the « URL cron event » functionality by rejecting disallowed URLs. More information see the security advisory.
  • Tweaks the display of some non-persistent WordPress core hooks when Multisite is enabled.

1.19.1 (3 June 2025)

  • Reinstates the ability to edit the Action Scheduler event.

1.19.0 (23 April 2025)

  • Confirms support for WordPress 6.8
  • Further improvements to the display of dates, intervals, and timezones for increased clarity
  • Adds more contextual help links for problematic events
  • Various UI and UX improvements

1.18.0 (13 January 2025)

  • Introduces support for a CRONTROL_DISALLOW_PHP_EVENTS constant to fully disable the PHP cron event functionality. Full documentation here.
  • Further improvements to how time durations and timezone information is displayed.

1.17.1 (22 November 2024)

  • Confirms support for WordPress 6.7
  • Avoids some warnings when running on PHP 8.3 and 8.4

1.17.0 (15 July 2024)

1.16.3 (19 April 2024)

  • Corrects the displayed PHP cron event name if one is provided

Earlier versions

For the changelog of earlier versions, refer to the releases page on GitHub.