From 4a6a2b2a77f3b235b4b387523591f6f12a1fa32b Mon Sep 17 00:00:00 2001 From: Redume Date: Thu, 14 Mar 2024 11:18:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B5=20?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D1=8B=D0=BD=D0=B5=20=D1=81=D0=B5=D0=B9=D0=B2?= =?UTF-8?q?=D1=8F=D1=82=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 3e1c9c3..e2d0f7d 100644 --- a/main.js +++ b/main.js @@ -8,6 +8,7 @@ const config = yaml.parse(fs.readFileSync("./config.yaml", "utf-8")); const saveRate = require('./utils/saveRate.js'); const response = require('./utils/errorResponse'); +saveRate(); schedule.scheduleJob('30 8 * * *', async function () { console.log('I save the currency data'); await saveRate();