Change cronjob exec time to daily

pull/1/head
Florian Hartwich 2017-05-10 15:02:58 +02:00
parent 2a7dead843
commit edbcecab46
1 changed files with 1 additions and 2 deletions

View File

@ -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');