Skip to content

Commit

Permalink
Execute cancel order job on second 30 each min (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch authored Oct 20, 2023
1 parent 826cdb3 commit bfb3f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const initialize = (botToken: string, options: Partial<Telegraf.Options<MainCont
}
);

schedule.scheduleJob(`*/2 * * * *`, async () => {
schedule.scheduleJob(`30 * * * * *`, async () => {
await cancelOrders(bot);
});

Expand Down

0 comments on commit bfb3f55

Please sign in to comment.