From 2977f04a3e4228c1df7372177b6ec3e29cf958e2 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 7 Oct 2016 13:48:36 +0100 Subject: [PATCH] Updated --- lot.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lot.js b/lot.js index 4908d38..eeb4823 100644 --- a/lot.js +++ b/lot.js @@ -450,15 +450,15 @@ function GO() { - performCalcs(); + /* performCalcs(); prepareResults(); console.log(resultsObj); +*/ - - /* resultsQuery(function (a) { + resultsQuery(function (a) { processData(a); performCalcs(); @@ -467,10 +467,10 @@ function GO() { console.log(resultsObj); -// sendEmail(); + sendEmail(); saveData(); - });*/ + }); }); } @@ -488,4 +488,4 @@ cron.schedule('1 00 18 * * 2,5', function(){ return -1; }); -GO(); \ No newline at end of file +// GO(); \ No newline at end of file