guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
d9a353a363
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/schedule/patentearly.js

+ 2 - 2
app/schedule/patentearly.js

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