Skip to content

Commit

Permalink
Merge pull request #172 from Stageus/kiju
Browse files Browse the repository at this point in the history
Fix: 로그삭제함수수정
  • Loading branch information
k1ju authored Aug 5, 2024
2 parents f3a2534 + 30f9b8e commit 447e855
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 447e855

Please sign in to comment.