mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
Теперь при запуске даныне сейвятся
This commit is contained in:
parent
515e833eef
commit
4a6a2b2a77
1 changed files with 1 additions and 0 deletions
1
main.js
1
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();
|
||||
|
|
Loading…
Add table
Reference in a new issue