From: Tim Düsterhus Date: Tue, 13 Dec 2022 09:36:37 +0000 (+0100) Subject: Remove section about executing cronjobs via CLI X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=340e4fe3;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git 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. --- 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