Skip to content

Commit

Permalink
chore: add crontab server config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakia committed May 23, 2024
1 parent 130aa89 commit f467ab2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/crontab
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
################################### Storage Server NanoDB Crontab ###################################

# Rollup daily balance distribution
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 comments on commit f467ab2

Please sign in to comment.