xiongzhu il y a 2 ans
Parent
commit
f969e8b185
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/accounts/accounts.service.ts

+ 1 - 1
src/accounts/accounts.service.ts

@@ -44,7 +44,7 @@ export class AccountsService {
         return account
     }
 
-    @Cron('* 1/30 * * * *')
+    @Cron('0 1/30 * * * *')
     async handleCron() {
         for (let account of await this.findAll()) {
             try {