Easy Actions Scheduler Cleaner

Descripción

Easy Actions Scheduler Cleaner helps you clean up your Actions Scheduler database tables. Over time, these tables can accumulate thousands or even millions of records from completed, failed, canceled, and past-due actions that are no longer needed, as well as extensive logs that can take up significant database space.

This plugin provides two cleanup modes plus email notifications:

Manual cleanup

Run a one-time cleanup that removes all unnecessary records at once:

  • Borrar acciones completadas: acciones que ya se han ejecutado correctamente.
  • Borrar acciones fallidas: acciones que han dado error durante su ejecución.
  • Borrar acciones canceladas: acciones que se cancelaron manualmente.
  • Borrar acciones vencidas: acciones que no se ejecutaron en el momento previsto.
  • Borrar acciones pendientes antiguas: acciones pendientes de más de 30 días.
  • Delete action logs – Historical log records that accumulate over time

Scheduled cleanup

Configure automatic cleanup to run on a schedule with smart thresholds:

  • Flexible frequency – Daily, weekly, biweekly, or monthly
  • Per-type configuration – Enable/disable cleanup for each action type independently
  • Threshold system – Only clean when records exceed your configured minimum (e.g., clean completed actions only when there are more than 100)
  • Configurable pending age – Set custom age for old pending actions (7 to 365 days)
  • Last run reporting – See results from the last scheduled cleanup

Email notifications (NEW)

Stay informed about your database status with configurable email notifications:

  • Periodic reports – Receive daily, weekly, or monthly reports with database status, cleanup results, and estimated space savings
  • Accumulation alerts – Get notified when records pile up without an active scheduled cleanup
  • Missed cleanup alerts – Detect when WP-Cron fails to execute a scheduled cleanup
  • Separate recipient lists – Configure different email addresses for management reports and technical alerts
  • HTML formatted emails – Clean, readable email reports
  • Test emails – Send test report or alert emails directly from the settings page to verify delivery

Key features

  • Two cleanup modes – Manual one-time cleanup or scheduled automatic cleanup
  • Smart thresholds – Scheduled cleanup only runs when record counts justify it
  • Database space estimation – See how much space your Action Scheduler tables are using
  • Email notifications – Periodic reports, accumulation alerts, and missed cleanup warnings
  • Procesamiento por lotes: gestiona grandes conjuntos de datos de forma eficiente (10.000 registros por lote).
  • Informes detallados – Shows exactly how many records were deleted by type and estimated space freed
  • Limpieza de datos huérfanos: también elimina los grupos huérfanos correspondientes.
  • Limpieza completa de registros: elimina todos los registros de acciones que se acumulan a lo largo del tiempo.
  • Integración con WooCommerce: funciona a la perfección con el programador de acciones de WooCommerce.

Why use this plugin?

The Actions Scheduler tool used by WooCommerce and many other WordPress plugins can accumulate millions of database records over time, which can:

  • Reducir el rendimiento de tu sitio web.
  • Aumentar el tamaño de la base de datos innecesariamente.
  • Hacer que las copias de seguridad de la base de datos sean más grandes y lentas.
  • Impacto en el rendimiento del programador de acciones.

La tabla de registros de acciones (actionscheduler_logs) es especialmente problemática, ya que registra información detallada sobre cada ejecución de acciones y puede crecer desmesuradamente en sitios web muy activos.

Important notes

  • Cleanup is irreversible – Always backup your database before use
  • Scheduled cleanup respects thresholds – Only cleans when record counts exceed your minimums
  • You choose the mode – Use manual for one-time cleanup or scheduled for ongoing maintenance

Perfect for

  • Sitios de comercio electrónico con grandes tablas del programador de acciones.
  • Sitios con millones de registros de acciones.
  • Mantenimiento y optimización de la base de datos.
  • Antes de actualizaciones importantes de WooCommerce.
  • Preparación para migraciones de sitios web.
  • Regular automated maintenance

Política de privacidad

This plugin does not collect, store, or transmit any user data externally. Email notifications are sent using WordPress’s built-in wp_mail() function through your server’s mail configuration. All data processing happens locally on your server.

Detalles técnicos

Minimum requirements

  • WordPress 5.0 o superior
  • WooCommerce 3.0 or higher (optional)
  • PHP 7.4 o superior
  • MySQL 5.6 o MariaDB 10.1

Database tables affected

  • wp_actionscheduler_actions – Tabla principal de acciones.
  • wp_actionscheduler_groups – Tabla de grupos (solo los registros huérfanos).
  • wp_actionscheduler_logs – Tabla de registros (todos los registros).

Batch processing

El plugin procesa los borrados en lotes de 10.000 registros para evitar tiempos de espera y reducir la carga del servidor durante las operaciones de limpieza.

WP-Cron

Scheduled cleanup and email notifications rely on WP-Cron. If your site uses an external cron job (DISABLE_WP_CRON), make sure your system cron is properly configured to trigger WP-Cron. The missed cleanup alert can help detect WP-Cron issues.

Soporte

¿Necesitas ayuda o tienes sugerencias?

¿Te gusta el plugin? ¡Déjanos un comentario de 5 estrellas y ayuda a correr la voz!

Acerca de AyudaWP

Somos especialistas en plugins de optimización de seguridad, SEO y rendimiento para WordPress. Creamos herramientas que solucionan problemas reales a los propietarios de sitios WordPress manteniendo los más altos estándares de programación y requisitos de accesibilidad.

Capturas de pantalla

  • Manual cleanup tab with database status and space estimation
  • Scheduled cleanup tab with frequency and threshold configuration
  • Notifications tab with report and alert settings
  • Cleanup results with estimated space freed

Instalación

  1. Sube los archivos del plugin al directorio /wp-content/plugins/easy-actions-scheduler-cleaner-ayudawp, o instala el plugin directamente desde la pantalla de plugins de WordPress.
  2. Activa el plugin desde la pantalla de ‘Plugins’ en WordPress.
  3. The plugin will automatically redirect you to Tools > Actions Cleaner.
  4. Choose between manual cleanup, scheduled cleanup, or notifications tabs.
  5. For manual: Review the information and click “Run Manual Cleanup”.
  6. For scheduled: Enable scheduled cleanup, configure frequency and thresholds, and save.
  7. For notifications: Enable periodic reports and/or technical alerts to stay informed.

FAQ

¿Es seguro utilizarlo?

Yes, but like any database operation, you should always backup your database first. The plugin only removes historical records that are no longer needed.

¿Romperá mi tienda WooCommerce?

No. El plugin solo elimina las acciones completadas, fallidas, canceladas, vencidas y pendientes antiguas, además de los registros de acciones. Conserva todas las acciones activas y pendientes recientes que WooCommerce aún necesita.

How does scheduled cleanup work?

Scheduled cleanup uses WP-Cron to run at your chosen frequency (daily, weekly, biweekly, or monthly). Each action type has a threshold: cleanup only happens when the record count exceeds that minimum. For example, if you set completed actions threshold to 100, they will only be cleaned when there are 100 or more completed actions.

What are thresholds?

Thresholds prevent unnecessary cleanup runs. If your site only has 20 completed actions and the threshold is 100, those 20 records will be left alone until they accumulate past the threshold. This is especially useful for low-traffic sites.

How do email notifications work?

You can configure three types of notifications: periodic reports (daily/weekly/monthly summaries), accumulation alerts (when records pile up without scheduled cleanup), and missed cleanup alerts (when WP-Cron fails). Report emails and alert emails can be sent to different recipients. You can also send test emails from the settings page to verify everything is working correctly.

Can I send reports and alerts to different people?

Yes. The Notifications tab has separate recipient fields for management reports and technical alerts. By default both use the site admin email, but you can customize each independently.

Can I use both manual and scheduled cleanup?

Yes. You can run a manual cleanup first to clear everything, then enable scheduled cleanup to keep things clean going forward.

¿Puedo deshacer la limpieza?

No, cleanup is irreversible. That’s why we strongly recommend creating a database backup before using it.

¿Afectará a mi tienda el borrado de los registros de acciones?

No. Action logs are purely historical records used for debugging and monitoring. Deleting them does not affect store functionality but can significantly reduce database size.

How is database space estimated?

The plugin queries MySQL’s information_schema.tables to get the actual disk usage (data + indexes) of the Action Scheduler tables. The “space freed” value compares table sizes before and after cleanup.

Does this work with Actions Scheduler Pro plugin?

This plugin works with the standard Action Scheduler that comes with WooCommerce and many other WordPress plugins. Compatibility with Action Scheduler Pro plugin has not been tested.

Reseñas

15 de Diciembre de 2025 1 respuesta
Este plugin aporta una de esas funcionalidades que piensas “¿por qué no viene de serie en WooCommerce?”. Elimina registros inservibles de Action Scheduler de manera sencilla y eficiente. Una tarea de mantenimiento para las tiendas online que tenía que hacer manualmente de forma lenta y tediosa, ahora la hago en un par de clics.–This plugin adds one of those features that makes you think, “Why doesn’t this come built into WooCommerce?” It removes unnecessary Action Scheduler records in a simple and efficient way. A maintenance task for online stores that I used to do manually in a slow and tedious way can now be done in just a couple of clicks.– ¡Gracias, Fernando!
29 de Septiembre de 2025 1 respuesta
In the scheduled actions, there were tens of thousands of actions, of which only 17 were Pending. With a single click, it removed everything unnecessary, making the database size drop significantly. An absolute lifesaver.
29 de Septiembre de 2025 1 respuesta
Funciona, y funciona muy bien. Lo acabo de probar y me ha hecho una limpieza de miles de registros con una buena lógica de borrado. Muy buena solución. Gracias
Leer los 5 comentarios

Colaboradores & Desarrolladores

“Easy Actions Scheduler Cleaner” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Easy Actions Scheduler Cleaner” ha sido traducido en 2 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Easy Actions Scheduler Cleaner” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.2.0

  • New: Email notifications system with three notification types
  • New: Periodic reports (daily, weekly, monthly) with database status and cleanup results
  • New: Accumulation alerts when records exceed threshold without active schedule
  • New: Missed cleanup alerts when WP-Cron fails to execute
  • New: Separate recipient configuration for reports (management) and alerts (technical)
  • New: Database space estimation showing MB used by Action Scheduler tables
  • New: Estimated space freed shown in cleanup results
  • New: “Schedule Cleanup” action link in plugins list screen
  • New: Test email buttons to verify report and alert delivery from settings
  • Improved: Softer, less intimidating UI for manual cleanup page
  • Improved: Removed unnecessary deactivation buttons from cleanup flow
  • Improved: Shorter submenu name for better admin navigation
  • Improved: HTML formatted email templates

1.1.0

  • New: Scheduled cleanup with WP-Cron support
  • New: Configurable frequency (daily, weekly, biweekly, monthly)
  • New: Per-type thresholds for smart automatic cleanup
  • New: Configurable age for old pending actions (7-365 days)
  • New: Tab-based admin interface (Manual cleanup / Scheduled cleanup)
  • New: Last scheduled run reporting
  • New: Post-cleanup option to schedule automatic cleanup instead of just deactivating
  • New: AyudaWP plugin recommendations banner

1.0.2

  • Probado hasta WordPress 6.9
  • Probado hasta WooCommerce 10.3.x

1.0.1

  • Eliminada la dependencia obligatoria de WooCommerce.
  • Ahora el plugin funciona con cualquier plugin que use el programador de acciones.
  • Agregado enlace a los ajustes en el listado de plugins para ofrecer un acceso rápido.
  • Mejoradas las comprobaciones de activación para verificar únicamente las tablas del programador de acciones.
  • Actualizadas las descripcionesy documentación del plugin.

1.0.0

  • Versión inicial
  • Permite la limpieza de acciones completadas, fallidas, canceladas y vencidas.
  • Permite limpiar las acciones pendientes antiguas (más de 30 días).
  • Permite limpiar los registros de acciones.
  • Procesamiento por lotes de grandes conjuntos de datos
  • Limpieza de datos huérfanos
  • Informes detallados
  • Advertencias y confirmaciones de seguridad.
  • Desactivación automática del plugin