diff --git a/cmd/mattermost/commands/jobserver.go b/cmd/mattermost/commands/jobserver.go index a7a212ba36..eabfc81472 100644 --- a/cmd/mattermost/commands/jobserver.go +++ b/cmd/mattermost/commands/jobserver.go @@ -42,6 +42,7 @@ func jobserverCmdF(command *cobra.Command, args []string) error { defer a.Shutdown() a.Srv().LoadLicense() + a.InitServer() // Run jobs mlog.Info("Starting Mattermost job server")