Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-05-23 13:30:26 +0300
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-07-11 12:46:23 +0300
commit3d0117990749bebe5394ff664d62494ae9a6fa1e (patch)
tree0eafa0b6fcc4d8d15654254ddd03db5209842996 /core/register_command.php
parent0b7779b6ff7dcb603d1088f3ea8fbf42ce5a98c4 (diff)
Add command to list jobs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index de04fedf30d..25c368d915c 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\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->getLogger()));
+ $application->add(new OC\Core\Command\Background\ListCommand(\OC::$server->getJobList(), \OC::$server->getLogger()));
$application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));