JCORE Script Runner
A WordPress plugin to easily allow manual running of scripts for maintenance and utility.
by JCO Digital · github.com/jco-digital/jcore-runner · website
★ 0stars
3release downloads
3.4kcomposer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/jco-digital/jcore-runner/releases/download/v4.4.3/jcore-runner.zipAlso on Packagist as jcore/runner:
composer require jcore/runnerFrom the readme
JCORE Script Runner Plugin
A powerful WordPress utility for managing, running, and scheduling maintenance scripts through a clean administrative interface. It handles long-running processes via pagination, provides real-time logging, and supports data exports.
Features
- Admin UI: Easily run scripts from the WordPress "Tools" menu.
- Pagination: Handle heavy tasks by splitting execution into multiple requests to avoid timeouts.
- Scheduling: Built-in support for WP-Cron with customizable intervals.
- Logging: Automatically captures echo output and saves it to daily log files.
- Exports: Built-in Export class to generate CSV or JSON files.
- Input Fields: Support for user inputs including text, select (with Select2), dates, and file uploads.
Installation
Install the plugin in your WordPress wp-content/plugins directory.
Basic Usage
To add a script to the runner, use the jcorerunnerfunctions filter.
1. Register your script
2. The Callback Function
The callback receives an instance of Jcore\Runner\Arguments. Any content you echo will be displayed in the runner console and saved to logs.
Advanced Usage
Input Types
The plugin supports various input types for the admin UI:
Read the full README on GitHub →