From 6dd634711e5512f2ec10cc155e20665c9483fac6 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Mon, 27 Jun 2022 14:30:57 +0800 Subject: [PATCH] clearExpiredToken --- code/api/app/lib/schedule/clearExpiredToken.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/api/app/lib/schedule/clearExpiredToken.js b/code/api/app/lib/schedule/clearExpiredToken.js index 09459d3..3e8b22e 100644 --- a/code/api/app/lib/schedule/clearExpiredToken.js +++ b/code/api/app/lib/schedule/clearExpiredToken.js @@ -3,7 +3,7 @@ const moment = require('moment') module.exports = function (app, opts) { const clearExpiredToken = schedule.scheduleJob( - '* * 4 * * *', + '0 0 4 * * *', // '*/8 * * * * *', async () => { try {