Cron Logger

By Palasthotel GmbH

★ 4.9/5 (8 ratings)1,000+ active installationsVersion 1.3.5

Logs wp-cron.php runs.

Description

Have you ever wondered what your WordPress is doing in wp-cron.php? Now you can see it. This plugin logs every run of wp-cron.php and every cron hook it executes.

Arbitrary section

Installation

  1. Upload cron-logger.zip to the /wp-content/plugins/ directory
  2. Extract the Plugin to a cron-logger Folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Have a look in Tools -> Cron Logs

Changelog

1.3.5

Bug Fixes
* keep the markup the plugin logs itself (6e049e3)
* register the cron hook callbacks with zero accepted args (reported by Andis Grossteins) (80cdcc1), closes #9
* remove expired runs from the log table again (9f85247)

1.3.4

Bug Fixes
* bind the values interpolated into the log queries (85ad8b4)
* deliver the orphaned child log cleanup and its database error fix (758a81f)
* escape the log page output (fc68ebb)
* restrict the log cleanup endpoint to administrators (CVE-2025-53266, reported by Nguyen Xuan Chien, fix by Quentin Lienhardt) (1ec1272)

1.3.3

  • Fix: Database error while deleting orphaned child logs

1.3.2

  • Fix: Version number in the plugin header

1.3.1

  • Feature: Cleanup also removes child logs whose parent no longer exists

1.3.0

  • Feature: Database cleanup cron and cleanup button
  • Feature: Automatically purge logs after 30 day. Can be modified via filter.

1.2.2

  • Fix: PHP 8.2 warnings

1.2.1

  • Optimization: Delete all data in the database on plugin deletion

1.2.0

  • Optimization: Reduced history to 14 days because of performance issues

1.1.1

  • Optimization: Performance optimization for post deletion

1.1.0

  • Refactoring: Code cleanup

1.0.5

  • Fix: missing sanitization fix thanks community member report.

1.0.4

  • Optimization: Multisite plugin activation (Thanks to @jcleaveland for report)
  • Optimization: use wp_timezone_string function (Thanks to @pothi for report)

1.0.3

  • Bugfix: database error while cleaning logs

1.0.2

  • scheduled posts status transition
  • clean logs
  • filer cron_logger_expire can modify the days before logs expire

1.0.1

  • Translations

1.0.0

  • Release