From 6eef866320a390a028311601c740309575ff16ee Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 19 Nov 2014 12:19:08 -0500 Subject: [PATCH] closed #2429 --- src/user/jobs.js | 7 +++---- src/views/emails/digest.tpl | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/user/jobs.js b/src/user/jobs.js index 3961396063..506f0d388b 100644 --- a/src/user/jobs.js +++ b/src/user/jobs.js @@ -9,19 +9,18 @@ var winston = require('winston'), module.exports = function(User) { User.startJobs = function() { - new cronJob('0 0 17 * * *', function() { - winston.verbose('[user.startJobs] Digest job (daily) scheduled.'); + winston.verbose('[user.startJobs] Digest job (daily) started.'); User.digest.execute('day'); }, null, true); new cronJob('0 0 17 * * 0', function() { - winston.verbose('[user.startJobs] Digest job (weekly) scheduled.'); + winston.verbose('[user.startJobs] Digest job (weekly) started.'); User.digest.execute('week'); }, null, true); new cronJob('0 0 17 1 * *', function() { - winston.verbose('[user.startJobs] Digest job (monthly) scheduled.'); + winston.verbose('[user.startJobs] Digest job (monthly) started.'); User.digest.execute('month'); }, null, true); }; diff --git a/src/views/emails/digest.tpl b/src/views/emails/digest.tpl index fdd7c83fdd..aca42a05e0 100644 --- a/src/views/emails/digest.tpl +++ b/src/views/emails/digest.tpl @@ -19,7 +19,7 @@
  • - {recent.title} + {recent.title}