From 63c480db775512d4bbbeef9f4190339c20b64e29 Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Tue, 25 Jun 2024 12:14:51 +0200 Subject: [PATCH] add morning cron for discord liquidation data report --- src/liquidation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/liquidation.js b/src/liquidation.js index 02fd693..b8c8f0b 100644 --- a/src/liquidation.js +++ b/src/liquidation.js @@ -28,7 +28,6 @@ const postToDiscord = async content => { 'Content-Length': data.length, }, }; - console.log(options.path); const req = https.request(options, (res) => { res.on('data', (d) => { @@ -85,7 +84,7 @@ const scheduleLiquidation = async _ => { }); // posts liquidation info to discord - schedule.scheduleJob('10 * * * *', async _ => { + schedule.scheduleJob('55 7 * * *', async _ => { console.log('logging liquidation info'); const { manager, wallet, provider } = await getVaultManager(); const EUROs = await getContract(network.name, 'EUROs');