diff --git a/index.js b/index.js index 169b4a1..52e534b 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ cron.schedule('0 1 * * *', async () => { winston.logger.info(`SCHEDULER-FB70 GENERATE INVOICE : ${JSON.stringify(generate)}`); }); -cron.schedule('0 2 * * *', async () => { +cron.schedule('*/5 * * * *', async () => { let uniqueCode = helper.getUniqueCode const posting = await _postingInvoice(uniqueCode) winston.logger.info(`SCHEDULER-FB70 POSTING INVOICE : ${JSON.stringify(posting)}`);