The Cron Events screen lists every cron event scheduled on your site, flags events that look broken, and lets you run, pause, edit, add, delete, and export them.

The Cron Events Screen

Navigate to Cron > Cron Events in the WordPress admin. The screen is also available at Tools > Cron Events. All of the Cron screens require the manage_options capability, which only Administrators have by default.

The Cron Events screen filtered to WordPress core events, showing each hook's last run, next run, schedule, and the function it calls

Columns

  • Hook: The action hook the event fires. Click View arguments to see the arguments passed to it. A WordPress icon in the checkbox column marks a WordPress core event that can’t be deleted.
  • Last Run: How long ago the hook last ran, with a View logs link. This column appears once you turn on logging for at least one hook, and only shows runs of logged hooks. See Log Cron Event Runs.
  • Next Run: When the event runs next, as a relative time and as a date and time in your site’s timezone.
  • Schedule: How often the event repeats, or Non-repeating.
  • Action: The functions attached to the hook, with the file and line number where each is defined. URL and PHP cron events show PMPro Cron Management.

Sort the list by Hook, Next Run, or Schedule. Use the Search Hook Names box to find events by hook name. The list shows 50 events per page, and the site time and timezone are shown below it.

Filter Views

The links above the list filter it by event type. A view only appears when it has at least one event.

  • All events: Every scheduled event.
  • Events with no action: Events with no function attached to their hook.
  • WooCommerce events: Events whose hook starts with woocommerce_ or wc_, or whose callback is in a WooCommerce file.
  • WordPress core events: Events added by WordPress itself.
  • Custom events: Every event that isn’t a WordPress core event, including events from plugins and themes.
  • PHP events and URL events: Events you created with PMPro Cron Management.
  • Paused events: Events whose hook is paused.
  • Duplicated events: Events whose hook is scheduled more than once.

Warnings on the Cron Events Screen

The screen highlights events and settings that can stop cron events from running:

  • No action: The Action column shows None when nothing is attached to the event’s hook, so the event does nothing when it runs. This often happens when the plugin that added the event is deactivated. Events with no action are usually safe to delete.
  • Missed schedule: The Next Run column shows a warning, such as “8 minutes ago”, when an event is more than 10 minutes past its scheduled time.
  • Interval too short: The Schedule column warns when an event’s interval is shorter than the WP_CRON_LOCK_TIMEOUT constant. Events that use it may not run on time.
  • Unknown schedule: The Schedule column shows an error when an event uses a schedule that no longer exists, for example one added by a deactivated plugin.
  • Invalid arguments: The Hook column warns “This event has invalid arguments and will not run correctly.”
  • Needs checking: A URL or PHP cron event that failed its integrity check won’t run until you open it with Check and edit and save it again.

Notices at the top of the screen report problems with the cron system itself:

  • “There was a problem spawning a call to the WP-Cron system on your site” with the error your server returned. Cron events on your site may not run until this is fixed. When the check passes, the result is cached for one hour.
  • An information notice when the DISABLE_WP_CRON or ALTERNATE_WP_CRON constant is set to true, or when the Cavalcade or Cron Control plugin runs your cron events.
  • A warning when the PHP default timezone isn’t set to UTC, which may cause issues with event timings.

Run, Pause, and Log an Event

Hover over an event to see the actions you can take on it. The actions shown depend on the event type and your permissions.

The Cron Events screen filtered to WordPress core events, with the Edit, Run now, Pause this hook, and Disable logging links showing under one event
  • Edit: Change the event’s arguments, next run time, or schedule. See Edit a Cron Event below.
  • Run now: Runs the event right away through WP-Cron, the same way it runs on its schedule. The original event keeps its next run time. Other overdue events don’t run along with it. If logging is on for the hook, the notice that follows links to its logs. If not, it offers an Enable logging link.
  • Pause this hook: Pauses every event that uses this hook. Paused events stay scheduled and run on their schedule, but every function attached to the hook is skipped. Click Resume this hook to turn them back on. URL and PHP cron events can’t be paused, and a paused event can’t be run with Run now.
  • Enable logging or Disable logging: Turns logging on or off for the event’s hook.
  • Delete: Deletes this one event.
  • Delete all events with this hook: Appears when more than one event uses the hook, with the number of events in brackets.

Tip: If an event keeps coming back after you delete it, the plugin that added it is rescheduling it. Use Pause this hook instead. The event stays in place but does nothing when it runs.

Add a Cron Event

Click Add Cron Event next to the Cron Events heading. Choose the Event Type: Standard cron event, URL cron event, or PHP cron event. You only see the URL and PHP options if your account is allowed to create those events.

The Add Cron Event form with the Standard cron event type selected, showing the Hook Name, Enable logging of this hook, Arguments, Next Run, and Schedule fields

Standard Cron Events

A standard cron event fires an action hook on a schedule. Fill in these fields:

  • Hook Name: The action hook to fire. Required. Use a name that follows PHP variable naming rules, such as my_weekly_report.
  • Enable logging of this hook: Checked by default. Records each run in the cron logs.
  • Arguments (optional): Values to pass to the hook’s functions, as a JSON encoded array such as [25] or ["weekly",10].
  • Next Run: Now (the default), Tomorrow, or At this time with a date and time in your site’s timezone. The date and time fields start at the top of the next hour.
  • Schedule: Non-repeating for a single run, or any schedule on your site. To add a new interval, see Add Custom Cron Schedules.

Click Add Event. The event does nothing until a function is attached to its hook. Add one in a code snippet or custom plugin:

add_action( 'my_weekly_report', 'my_send_weekly_report' );

function my_send_weekly_report() {
	wp_mail( get_option( 'admin_email' ), 'Weekly report', 'Your weekly report is ready.' );
}

URL Cron Events

A URL cron event sends an HTTP request to a URL on a schedule.

The Add Cron Event form with the URL cron event type selected, showing the URL, HTTP Method, and Display Name fields
  • URL: The address to request.
  • HTTP Method: GET (the default), POST, HEAD, or DELETE.
  • Display Name (optional): A name to show in the event list instead of the URL.
  • Next Run and Schedule: The same as for a standard event.

Users with the manage_options capability can add, edit, run, and delete URL cron events. To turn them off completely, add define( 'CRONTROL_DISALLOW_URL_EVENTS', true ); to your wp-config.php file.

PHP Cron Events

A PHP cron event runs the PHP code you enter on a schedule.

The Add Cron Event form with the PHP cron event type selected, showing the PHP Code editor and Display Name field
  • PHP Code: The code to run. Don’t include the opening <?php tag.
  • Display Name (optional): A name to show in the event list.
  • Next Run and Schedule: The same as for a standard event.

Adding, editing, and deleting PHP cron events requires the edit_files capability, the same permission WordPress uses for its plugin and theme file editors. Only Administrators have it by default, and only Super Admins on multisite. If file editing is disabled with the DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS constant, no one can add or edit PHP cron events.

Note: To turn off PHP cron events completely, add define( 'CRONTROL_DISALLOW_PHP_EVENTS', true ); to your wp-config.php file. Existing PHP cron events stay in place and can still be deleted by users with the edit_files capability, but their code doesn’t run and no PHP cron events can be added, edited, or run.

Edit a Cron Event

Hover over an event and click Edit. You can change the arguments, the next run date and time, and the schedule. The hook name can’t be changed for WordPress core events or for URL and PHP cron events. Click Update Event to save.

The Edit Cron Event screen for the wp_version_check WordPress core event, with the Arguments, Next Run, and Schedule fields

If the event ran while you had the form open, you see a notice that the event no longer exists, with a link to check whether it was rescheduled.

Delete Cron Events

Hover over an event and click Delete. To delete several events at once, check the box next to each one, choose Delete from the Bulk actions menu, and click Apply.

WordPress core events that WordPress reschedules on its own, such as wp_version_check and wp_update_plugins, can’t be deleted and have no checkbox. Use Pause this hook if you don’t want them to run. Deleting a PHP cron event requires the edit_files capability.

Export Cron Events to CSV

Click Export above the list to download a CSV file of the events in the current view, such as All events or Custom events. The search box doesn’t narrow the export. The file has these columns: hook, arguments, next_run, next_run_gmt, action, schedule, and interval.

Last updated on December 4, 2026


Was this article helpful?
YesNo