Tags: managingwp/wp-shelltools
Tags
Release 1.4.5
* Add configurable log prune size via LOG_PRUNE_SIZE_MB (default 10MB) and use it in pruning
* Implement multisite resume with state file (default $SCRIPT_DIR/.cron-shim.${DOMAIN_NAME}.state; override via CRON_SHIM_STATE_FILE)
* Resume from site after last processed; clear state at end of full pass
* Use deterministic SITE_LIST ordering for multisite iteration (no unordered assoc-array keys)
* Harden multisite CSV parsing: request blog_id,url; strip header; skip blanks; filter stray DEBUG lines
* wp-cli opcache wrapper: remove ${*} injection; drop eval; invoke PHP directly with safe args
* Unify debug handling: _debug writes to stderr and mirrors to file only when LOG_TO_FILE=1 (no syslog/stdout)
* Convert wrapper debug output to use _debug for consistency
* Fix trap to use single quotes (defer expansion); split local var decl/assign in load check
* Heartbeat: treat any 2xx as success; quieter curl usage
* Update cron-shim.conf.example and README with LOG_PRUNE_SIZE_MB and CRON_SHIM_STATE_FILE, plus resume behavior
Release 1.4.2 * (cron-shim) Added support for checking server load average before running cron jobs. * (cron-shim) Introduced `CHECK_LOAD_AVERAGE` and `MAX_LOAD_AVERAGE` configuration options to control load average checks. * (cron-shim) Added `SCRIPT_ENABLED` configuration option to enable or disable script execution.
Release 1.4.0 * (cron-shim) Enhanced wp-cli detection to automatically search common installation paths when wp-cli is not found at the configured location. * (cron-shim) Only searches alternative paths if WP_CLI wasn't explicitly set via configuration file. * (cron-shim) Improved error messages for wp-cli detection failures.
PreviousNext