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

+ 1 - 1
app/schedule/patentearly.js

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