Skip to content

Commit

Permalink
Fix: 로그삭제함수수정
Browse files Browse the repository at this point in the history
  • Loading branch information
k1ju committed Aug 5, 2024
1 parent 562ff25 commit 30f9b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/middlewares/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const logger = async (req, res, next) => {
};

const deleteLogJob = new CronJob(
'0 0 0 * * *',
'0 20 16 * * *',
async function () {
console.log('cron 시작');
try {
Expand All @@ -69,7 +69,7 @@ const deleteLogJob = new CronJob(
ORDER BY
idx DESC
LIMIT
1)`
100)`
);
} catch (err) {
console.log('Error', err.stackTrace);
Expand Down

0 comments on commit 30f9b8e

Please sign in to comment.