From 340e4fe30875b5043217c9867e66beeca9ce4302 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 13 Dec 2022 10:36:37 +0100 Subject: [PATCH] Remove section about executing cronjobs via CLI This does not really belong into the developer documentation, but rather the manual. In any case support for this was removed in WoltLab/WCF#5171. --- docs/php/api/cronjobs.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/php/api/cronjobs.md b/docs/php/api/cronjobs.md index d2757e85..517ff660 100644 --- a/docs/php/api/cronjobs.md +++ b/docs/php/api/cronjobs.md @@ -22,16 +22,3 @@ Every cronjob needs to implement the `wcf\system\cronjob\ICronjob` interface whi This method is called by [wcf\system\cronjob\CronjobScheduler](https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php) when executing the cronjobs. In practice, however, you should extend the `AbstractCronjob` class and also call the `AbstractCronjob::execute()` method as it fires an event which makes cronjobs extendable by plugins (see [event documentation](events.md)). - - -## Executing Cronjobs Through CLI - -Cronjobs can be executed through the command-line interface (CLI): - -``` -php /path/to/wcf/cli.php << 'EOT' -USERNAME -PASSWORD -cronjob execute -EOT -``` \ No newline at end of file -- 2.20.1