ZS Action Scheduler Optimizer

Description

ZS Action Scheduler Optimizer provides a simple administration page under Tools for maintaining Action Scheduler data.

The plugin:

  • Checks that the Action Scheduler actions and logs tables exist before performing maintenance.
  • Deletes completed, failed, and canceled actions when requested.
  • Truncates the Action Scheduler logs table when cleanup is requested.
  • Lets administrators configure the Action Scheduler retention period.
  • Displays the current table sizes and record counts.

Because cleanup permanently deletes database records, create a database backup before using the cleanup option on a production site.

Usage

  1. Navigate to Tools > ZS Action Scheduler Optimizer in the WordPress dashboard.
  2. Choose whether to delete completed, failed, and canceled actions.
  3. Select the desired Action Scheduler retention period.
  4. Click Save Changes.

Developer Information

Author: Zafer Oz
Author URI: https://devnoro.com.tr

Screenshots

Installation

  1. Upload the zs-action-scheduler-optimizer folder to the /wp-content/plugins/ directory, or install the plugin through WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Go to Tools > ZS Action Scheduler Optimizer.

Reviews

November 24, 2024
When using certain plugins, particularly caching preemptive plugins, the Action Scheduler ends up storing a massive amount of actions. There is no inbuilt mechanism to empty these logs in the standard Action Scheduler. And this plugin quickly and easily solves that issue, enabling the deletion of unnecessary files up to the stated time period, with a button click.
Read all 1 review

Contributors & Developers

“ZS Action Scheduler Optimizer” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.3

  • Updated compatibility metadata for WordPress 7.0.
  • Hardened admin form handling with stricter input validation and capability checks.
  • Updated database queries to use WordPress identifier placeholders for table names.
  • Updated the text domain to match the WordPress.org plugin slug.
  • Added a plugin-specific retention setting with backward-compatible fallback for existing installations.
  • Improved admin notices, escaping, and code formatting.

1.0.2

  • Updated plugin code to allow translations.

1.0.1

  • Added checks to ensure the required Action Scheduler tables exist before performing operations.
  • Updated plugin version and tested up to WordPress version 6.4.3.

1.0.0

  • Initial release of the plugin.