From 354e688af88731a169bc0a395bddf959c6e3ef5a Mon Sep 17 00:00:00 2001 From: Maarten Bruna <14947039+ictbeheer@users.noreply.github.com> Date: Tue, 5 May 2026 16:03:01 +0200 Subject: [PATCH] feat: add cron command --- composer.json | 3 ++- composer.lock | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 72 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 9113aff..9ce4ceb 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ "php": ">=7.4", "wp-cli/cache-command": "^2", "wp-cli/core-command": "^2.1", + "wp-cli/cron-command": "^2.3", "wp-cli/db-command": "^2", "wp-cli/entity-command": "^2", "wp-cli/extension-command": "^2.1", @@ -32,4 +33,4 @@ "wp-cli/super-admin-command": "^2", "wp-cli/wp-cli": "^2" } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index aa87ed3..fb95112 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "41ce66001b616a7c32bba735609de9a3", + "content-hash": "e16820120d1bd4aea1ffca5c315b8176", "packages": [ { "name": "composer/semver", @@ -710,6 +710,75 @@ }, "time": "2026-01-10T09:57:36+00:00" }, + { + "name": "wp-cli/cron-command", + "version": "v2.3.2", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/cron-command.git", + "reference": "6f450028a75ebd275f12cad62959a0709bf3e7c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/6f450028a75ebd275f12cad62959a0709bf3e7c1", + "reference": "6f450028a75ebd275f12cad62959a0709bf3e7c1", + "shasum": "" + }, + "require": { + "wp-cli/wp-cli": "^2.12" + }, + "require-dev": { + "wp-cli/entity-command": "^1.3 || ^2", + "wp-cli/eval-command": "^2.0", + "wp-cli/server-command": "^2.0", + "wp-cli/wp-cli-tests": "^4" + }, + "type": "wp-cli-package", + "extra": { + "bundled": true, + "commands": [ + "cron", + "cron test", + "cron event", + "cron event delete", + "cron event list", + "cron event run", + "cron event schedule", + "cron schedule", + "cron schedule list", + "cron event unschedule" + ], + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": [ + "cron-command.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Bachhuber", + "email": "daniel@runcommand.io", + "homepage": "https://runcommand.io" + } + ], + "description": "Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.", + "homepage": "https://github.com/wp-cli/cron-command", + "support": { + "issues": "https://github.com/wp-cli/cron-command/issues", + "source": "https://github.com/wp-cli/cron-command/tree/v2.3.2" + }, + "time": "2025-04-02T11:55:20+00:00" + }, { "name": "wp-cli/db-command", "version": "v2.1.3",