@@ -1,8 +1,8 @@
'use strict';
module.exports = {
schedule: {
- interval: '30s', // 1 分钟间隔
- // cron: '0 0 * * * *',
+ // interval: '30s', // 1 分钟间隔
+ cron: '0 0 * * * *',
type: 'all', // 指定所有的 worker 都需要执行
},
async task(ctx) {