guhongwei há 3 anos atrás
pai
commit
c1e8f13513
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/schedule/patentearly.js

+ 1 - 1
app/schedule/patentearly.js

@@ -3,7 +3,7 @@ module.exports = {
   schedule: {
     // interval: '30s', // 1 分钟间隔
     // cron: '0 0 23 * * *', // 每天晚上十一点
-    cron: '30 * * * * ?', // 30s
+    cron: '5 * * * * ?', // 30s
     type: 'worker', // 指定所有的 worker 都需要执行
   },
   async task(ctx) {