Skip to content

Commit

Permalink
fix: cron 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixtar committed Dec 3, 2024
1 parent 36a69b4 commit 491c938
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/api/src/common/log/logger.batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export class LogBatchService {
private readonly loggerService: LoggerService
) {}

// @Cron(CronExpression.EVERY_DAY_AT_1AM)
@Cron('10 * * * * *')
@Cron(CronExpression.EVERY_DAY_AT_1AM)
async uploadLogToObjectStorage() {
const logsDir = path.join(__dirname, '../../../logs');
const today = new Date();
Expand Down

0 comments on commit 491c938

Please sign in to comment.