Skip to content

Commit

Permalink
add cron job to update asset configs regularly
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Apr 15, 2024
1 parent b22d6b7 commit 76f8b8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ process.env.CHECKPOINT_DISABLE = "1";
setTimeout(() => {
retrieveAssetConfig();

cron.schedule("0 */6 * * *", retrieveAssetConfig);

cron.schedule("0 */1 * * *", automatedDailyRounds);
}, 100);

Expand Down

0 comments on commit 76f8b8f

Please sign in to comment.