From edbcecab46f5e40417d7fc96857e2dc94abe0497 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Wed, 10 May 2017 15:02:58 +0200 Subject: [PATCH] Change cronjob exec time to daily --- opt-cc-api/cron-job/update-signatures.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opt-cc-api/cron-job/update-signatures.js b/opt-cc-api/cron-job/update-signatures.js index e9facd7..628b1fd 100644 --- a/opt-cc-api/cron-job/update-signatures.js +++ b/opt-cc-api/cron-job/update-signatures.js @@ -7,8 +7,7 @@ const signatureTool = require('../signature-tool/signature-tool'); // Execute daily @ 02:30 AM -// const cronJob = cron.job('00 00 22 * * *', () => { -const cronJob = cron.job('00 00 */1 * * *', () => { +const cronJob = cron.job('00 30 02 * * *', () => { console.log('\x1b[35m%s\x1b[0m', new Date().toLocaleString() + ': cron job started - UPDATE SIGNATURES');