diff options
author | Joas Schilling <coding@schilljs.com> | 2021-05-28 14:58:49 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-14 09:57:16 +0200 |
commit | e2a7482b490b6b3e5143b4678d88867a6398b248 (patch) | |
tree | d6a56ce7a4b41c7081bbbd3d780acbbe75cd3109 /core/register_command.php | |
parent | 811d0cd1b5f3967571da9846892cdcd14c2eaaec (diff) | |
download | nextcloud-server-e2a7482b490b6b3e5143b4678d88867a6398b248.tar.gz nextcloud-server-e2a7482b490b6b3e5143b4678d88867a6398b248.zip |
Add a command to show info about a background job and force-execute it
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index c110a0a3155..b27d92e81b6 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -90,6 +90,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig())); $application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig())); $application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig())); + $application->add(new OC\Core\Command\Background\Job(\OC::$server->getJobList(), \OC::$server->getDatabaseConnection(), \OC::$server->getLogger())); $application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class)); |