Skip to content

Commit

Permalink
Removed timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir <nlit@pm.me>
  • Loading branch information
CodeLit committed Sep 22, 2023
1 parent 280b3e3 commit d2afd80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ async function run() {
logger.log(`----- Backups completed -----`);
}

setTimeout(async () => {
await run();
}, 1000);
await run();

cron.schedule('0 3 * * *', run);

0 comments on commit d2afd80

Please sign in to comment.