summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-02-28 21:56:40 +0100
committerChristian Kampka <christian@kampka.net>2015-03-02 20:51:40 +0100
commit83e0f84fef880bbd58cfa43b413436ff3a95d778 (patch)
treebe156d592000bde311ffe8fe9ece4dfb9ad3ca6c /core/register_command.php
parent42f6448da239c1b716ae514a513c4985eec48ef5 (diff)
downloadnextcloud-server-83e0f84fef880bbd58cfa43b413436ff3a95d778.tar.gz
nextcloud-server-83e0f84fef880bbd58cfa43b413436ff3a95d778.zip
Allow configuring background job mode from the console
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index bcff56b8aa7..2328bc7685f 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -27,6 +27,9 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\User\LastSeen());
$application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\L10n\CreateJs());
+ $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()));
} else {
$application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getConfig()));
}