Removing Scheduled Actions from WooCommerce Action Scheduler

In the world of eCommerce, WooCommerce has established itself as a leading platform for businesses to sell their products and services online. It offers a wide range of features and functionalities to enhance the online shopping experience. One of the key components of WooCommerce is the Action Scheduler, which allows store owners to schedule various actions and tasks within their online stores. However, there may come a time when you need to remove or modify these scheduled actions. In this article, we will explore how to effectively remove scheduled actions from the WooCommerce Action Scheduler.

Understanding the WooCommerce Action Scheduler

Before we delve into the process of removing scheduled actions, let’s first understand what the WooCommerce Action Scheduler is and how it functions. The Action Scheduler is a background processing library used by WooCommerce to execute scheduled actions within the online store. These actions can include tasks like sending order confirmation emails, updating stock levels, and performing various other automated functions.

The Action Scheduler uses a combination of WordPress hooks and custom database tables to manage and execute these scheduled actions. It provides a reliable and efficient way to handle time-consuming tasks without affecting the overall performance of the online store. However, there are instances when you may need to remove or cancel certain scheduled actions.

Identifying Scheduled Actions

The first step in removing scheduled actions is to identify the actions you wish to remove. WooCommerce provides a user-friendly interface to view and manage scheduled actions. To access this interface, follow these steps:

  1. Login to your WordPress admin dashboard.
  2. Navigate to the WooCommerce tab in the sidebar.
  3. Click on “Status” to access the WooCommerce System Status page.
  4. On the System Status page, scroll down to the “Action Scheduler” section.
  5. Click on “Scheduled Actions” to view the list of all scheduled actions.

Once you have accessed the list of scheduled actions, you can identify the specific actions you want to remove based on their names, hooks, or other relevant information.

Removing Scheduled Actions

Now that you have identified the scheduled actions you wish to remove, there are a few different methods you can use to accomplish this task. Let’s explore two common approaches:

1. Using a Plugin

WooCommerce provides several plugins that can assist you in managing scheduled actions. One popular plugin is the “Advanced Cron Manager” plugin, which allows you to view and manipulate all cron tasks, including scheduled actions. Here’s how you can use this plugin to remove scheduled actions:

  1. Install and activate the “Advanced Cron Manager” plugin from the WordPress plugin repository.
  2. Once activated, go to the WordPress admin dashboard and navigate to Tools > Cron Events.
  3. Locate the scheduled action you want to remove and click on the “Delete” button next to it.
  4. Confirm the deletion, and the scheduled action will be removed from the Action Scheduler.

Using a dedicated plugin like “Advanced Cron Manager” gives you a more comprehensive set of tools to manage your scheduled actions effectively.

Download Now Advanced Cron Manager – debug & control

With Advanced Cron Manager you can manage WP Cron events:

  • view all registered events
  • search events
  • execute manually any event
  • add new events
  • pause events
  • delete (unschedule) events
  • ready-to-copy-paste PHP implementation for each event
  • bulk actions on events
  • block WP Cron spawning and get instructions how to set Server Scheduler

and schedules:

  • view all registered schedules
  • add new schedules
  • edit schedules
  • remove schedules

Plugin use AJAX request so you’ll need enabled Javascript in order to use it.

2. Programmatically Removing Actions

If you prefer a more hands-on approach, you can programmatically remove scheduled actions using custom code. WooCommerce provides various hooks and functions that allow you to interact with the Action Scheduler programmatically. Here’s an example of how you can remove a scheduled action using code:

phpCopy codefunction remove_scheduled_action() {
    $action_id = 123; // Replace with the ID of the scheduled action you want to remove
    as_unschedule_action( $action_id );
add_action( 'init', 'remove_scheduled_action' );

In the above code snippet, we use the as_unschedule_action() function provided by the Action Scheduler to remove a specific scheduled action. You need to replace the $action_id variable with the ID of the action you want to remove. Once you have added this code to your theme’s functions.php file or a custom plugin, the scheduled action will be effectively removed.

Removing Scheduled Actions from WooCommerce Action Scheduler with phpMyAdmin

In certain cases, you may encounter situations where you need to remove scheduled actions from the WooCommerce Action Scheduler directly through phpMyAdmin. phpMyAdmin is a popular web-based database management tool that allows you to interact with your WordPress database. This method can be useful if you have a specific scheduled action that cannot be easily removed using plugins or code. In this article, we will guide you through the process of removing scheduled actions from the WooCommerce Action Scheduler using phpMyAdmin.


Accessing phpMyAdmin

Before we proceed, ensure that you have access to phpMyAdmin. Usually, you can access phpMyAdmin through your web hosting control panel. Here are the general steps to access phpMyAdmin:

  • Log in to your web hosting control panel (e.g., cPanel, Plesk).
  • Locate the section or icon for phpMyAdmin.
  • Click on the phpMyAdmin link to launch the application.

If you are unsure about accessing phpMyAdmin, it is recommended to consult your web hosting provider or refer to their documentation for specific instructions.

Removing Scheduled Actions

Once you have accessed phpMyAdmin, follow the steps below to remove scheduled actions from the WooCommerce Action Scheduler:

  1. In phpMyAdmin, locate and select the database associated with your WooCommerce installation from the left-hand sidebar. The database name is typically mentioned in your WordPress configuration file (wp-config.php).
  2. After selecting the database, you will see a list of tables within that database. Look for the table named wp_actionscheduler_actions (the prefix may vary based on your WordPress installation).
  3. Click on the wp_actionscheduler_actions table to open it.
  4. On the top menu, select the “Browse” tab to view the table’s contents.
  5. The table will display the scheduled actions in rows. Identify the specific action(s) you want to remove based on the column values.
  6. Once you have identified the action(s) to remove, click on the checkbox(es) next to the corresponding row(s).
  7. At the bottom of the table, you will find a dropdown menu labeled “With selected.” Click on the dropdown and choose “Delete.”
  8. Confirm the deletion when prompted, and the selected scheduled action(s) will be removed from the Action Scheduler.

Please exercise caution when using phpMyAdmin, as direct database modifications can have serious consequences if not done correctly. It is always recommended to have a backup of your database before making any changes.


Managing scheduled actions is an essential aspect of maintaining an efficient WooCommerce online store. By understanding the WooCommerce Action Scheduler and utilizing the right tools and methods, you can easily remove or modify scheduled actions according to your requirements. Whether you choose to use a plugin or write custom code, the flexibility provided by WooCommerce empowers you to have full control over the scheduled actions within your online store.

FAQs (Frequently Asked Questions)

Q: Can I remove multiple scheduled actions at once?

A: Yes, using the “Advanced Cron Manager” plugin or custom code, you can remove multiple scheduled actions simultaneously.

Q: Will removing a scheduled action affect the performance of my online store?

A: Removing scheduled actions will not directly impact the performance of your online store. However, it’s essential to review and understand the implications of removing specific actions.

Q: Can I reschedule a removed action?

A: Once a scheduled action is removed, you cannot directly reschedule it. You would need to recreate the action with the desired schedule.

Q: Is it recommended to remove all scheduled actions?

A: No, it’s not advisable to remove all scheduled actions without proper understanding. Some scheduled actions are crucial for the smooth functioning of your online store.

Q: Are there any alternative methods to remove scheduled actions?

A: Yes, besides using plugins or custom code, you can also explore other WooCommerce extensions or consult with a developer to achieve the desired results efficiently.


About Sanjeev Kumar

Hello, I am Sanjeev Kumar, We provide all types of latest news and all types of software update information on our website. We also provide graphics and website services for your customers.

Leave a Reply