Skip to content

Commit

Permalink
feat: update crontab to import price quotes daily
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakia committed Jun 1, 2024
1 parent f467ab2 commit 7b91e00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/crontab
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
0 1 * * * TZ=UTC NODE_ENV=production /home/user/.nvm/versions/node/v16.14.0/bin/node --max-old-space-size=18120 /home/user/nanodb/scripts/rollup-daily-balance-distribution.mjs --days 1

# Rollup daily
0 0 * * * TZ=UTC NODE_ENV=production /home/user/.nvm/versions/node/v16.14.0/bin/node /home/user/nanodb/scripts/rollup-daily.mjs --days 1
0 0 * * * TZ=UTC NODE_ENV=production /home/user/.nvm/versions/node/v16.14.0/bin/node /home/user/nanodb/scripts/rollup-daily.mjs --days 1

# Import Price Quotes
0 5 * * * TZ=UTC NODE_ENV=production /home/user/.nvm/versions/node/v16.14.0/bin/node /home/user/nanodb/scripts/import-coingecko-price-history.mjs

0 comments on commit 7b91e00

Please sign in to comment.