guhongwei 2 rokov pred
rodič
commit
470ee29bbe
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      app/schedule/user.js

+ 2 - 2
app/schedule/user.js

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