diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-09-01 12:13:05 +0200 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2024-05-02 16:43:41 +0200 |
commit | d69b8ecf953f752efae3bb1b4f1ff3034d5cdcb9 (patch) | |
tree | db2c4ec07d1d301dd4e7b8e79e220338762e41e4 /core/register_command.php | |
parent | 8400bfee019f310494a345aa35643a44137a33cf (diff) | |
download | nextcloud-server-d69b8ecf953f752efae3bb1b4f1ff3034d5cdcb9.tar.gz nextcloud-server-d69b8ecf953f752efae3bb1b4f1ff3034d5cdcb9.zip |
fix(bg-jobs): Fix running once when no job was scheduled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index 96a821b6f8c..f3ae8efa300 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -94,7 +94,7 @@ if ($config->getSystemValueBool('installed', false)) { $application->add(Server::get(Command\Background\Job::class)); $application->add(Server::get(Command\Background\ListCommand::class)); $application->add(Server::get(Command\Background\Delete::class)); - $application->add(Server::get(Command\Background\Worker::class)); + $application->add(Server::get(Command\Background\JobWorker::class)); $application->add(Server::get(Command\Broadcast\Test::class)); |