About the Plugin
RS Cron Viewer provides a clean and simple interface within your WordPress admin dashboard to view all scheduled cron events. It helps developers and site administrators verify that background tasks are running on schedule.
Key Features
- Dashboard Integration: Adds a dedicated "Cron Viewer" page to your admin menu.
- Task Overview: Lists all pending WP-Cron events.
- Detailed Info: Shows hook names, arguments, next execution time, and recurrence schedule.
- Timezone Aware: Displays run times converted to your site's local timezone.
- Status Indicators: Visual cues for tasks that are overdue.
Screenshots & Usage
1. Admin Menu Integration
Once activated, you will find the Cron Viewer link in the main left-hand sidebar menu, just below the "Tools" or "Settings" section.
2. Cron Tasks Dashboard
The main dashboard displays a comprehensive table of all scheduled tasks:
- Next Run: The exact date and time the task is scheduled to execute (highlighted in red if overdue).
- Hook: The internal WordPress action hook name triggering the event.
- Arguments: Specific parameters passed to the function (e.g., Post IDs or settings arrays).
- Schedule: How often the task repeats (e.g., "Once Hourly", "Every minute", or "One-off").
How it Works
WordPress uses a pseudo-cron system called WP-Cron. Unlike system cron jobs that run at exact times, WP-Cron relies on page visits to trigger tasks.
This plugin hooks into WordPress using the internal _get_cron_array() function to retrieve the raw list of scheduled events and presents them in a readable table format.
Installation
- Download the
rs-cron-viewer.zipfile. - Log in to your WordPress Admin Dashboard.
- Go to Plugins > Add New.
- Click Upload Plugin and select the zip file.
- Activate the plugin.
Changelog
- v1.1.0 - Prepared for WordPress Repository. Updated tested version to 6.7.
- v1.0.10 - Improved internationalization and code quality.
- v1.0.0 - Initial release.