Change cronjob exec time to daily
parent
2a7dead843
commit
edbcecab46
|
@ -7,8 +7,7 @@ const signatureTool = require('../signature-tool/signature-tool');
|
||||||
|
|
||||||
|
|
||||||
// Execute daily @ 02:30 AM
|
// Execute daily @ 02:30 AM
|
||||||
// const cronJob = cron.job('00 00 22 * * *', () => {
|
const cronJob = cron.job('00 30 02 * * *', () => {
|
||||||
const cronJob = cron.job('00 00 */1 * * *', () => {
|
|
||||||
|
|
||||||
console.log('\x1b[35m%s\x1b[0m', new Date().toLocaleString()
|
console.log('\x1b[35m%s\x1b[0m', new Date().toLocaleString()
|
||||||
+ ': cron job started - UPDATE SIGNATURES');
|
+ ': cron job started - UPDATE SIGNATURES');
|
||||||
|
|
Loading…
Reference in New Issue