coinratecap / Backend

This is the backend of coinratecap
MIT License
6 stars 6 forks source link

simple snippet #64

Closed melodyogonna closed 3 years ago

melodyogonna commented 3 years ago

Alright, @nateshmbhat this pull request is so you can take a look at how I scheduled the fetchAllCoinsDataFromExchangesToDb function, it's the last thing on /src/app.js before the server starts. I'm thinking maybe scheduleCron would take an array of functions instead of a single function.