aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.js b/server.js
index 33d399786..54fa914bf 100644
--- a/server.js
+++ b/server.js
@@ -40,6 +40,7 @@ const customValidators = require('./server/helpers/custom-validators')
40const friends = require('./server/lib/friends') 40const friends = require('./server/lib/friends')
41const installer = require('./server/initializers/installer') 41const installer = require('./server/initializers/installer')
42const migrator = require('./server/initializers/migrator') 42const migrator = require('./server/initializers/migrator')
43const jobScheduler = require('./server/lib/jobs/job-scheduler')
43const routes = require('./server/controllers') 44const routes = require('./server/controllers')
44 45
45// ----------- Command line ----------- 46// ----------- Command line -----------
@@ -133,6 +134,9 @@ function onDatabaseInitDone () {
133 // Activate the communication with friends 134 // Activate the communication with friends
134 friends.activate() 135 friends.activate()
135 136
137 // Activate job scheduler
138 jobScheduler.activate()
139
136 logger.info('Server listening on port %d', port) 140 logger.info('Server listening on port %d', port)
137 logger.info('Webserver: %s', constants.CONFIG.WEBSERVER.URL) 141 logger.info('Webserver: %s', constants.CONFIG.WEBSERVER.URL)
138 142