emailer should actually email
This commit is contained in:
parent
d4949326e3
commit
bce7f56b31
@ -37,7 +37,7 @@ html(lang="en")
|
||||
p !{line.combined}
|
||||
.fitbit
|
||||
h2 Fitbit
|
||||
p Yesterday you walked #{data.fitbit.summary.steps} steps and moved #{data.fitbit.summary.distances[0].distance} km.
|
||||
p Yesterday you walked #{data.fitbit.summary.steps} steps and covered #{data.fitbit.summary.distances[0].distance} km.
|
||||
.swedish
|
||||
h2 Word of the day
|
||||
p(style="font-weight:900;")= data.swedish.xml.words.word
|
||||
|
@ -247,8 +247,8 @@ setTimeout(function() {
|
||||
module.exports.preLoadToday();
|
||||
}, 5000);
|
||||
setTimeout(function() {
|
||||
// mdMailer.sendEmailV1(todayCache, __dirname);
|
||||
saveToDB(todayCache);
|
||||
// mdMailer.sendEmailV1(todayCache, __dirname);
|
||||
// saveToDB(todayCache);
|
||||
}, 45000);
|
||||
cron.schedule('45 6 * * *', function() {
|
||||
module.exports.preLoadToday();
|
||||
@ -259,7 +259,7 @@ cron.schedule('0 */1 * * *', function() {
|
||||
return -1;
|
||||
});
|
||||
cron.schedule('0 7 * * *', function() {
|
||||
mdMailer.sendEmailV1();
|
||||
mdMailer.sendEmailV1(todayCache, __dirname);
|
||||
saveToDB(todayCache);
|
||||
// Console.log('tick');
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user