Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YEL-214 [deploy] 2.0.1 배포 #473

Merged
merged 3 commits into from
Mar 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.yello.server.infrastructure.scheduler;


import com.yello.server.global.common.util.ConstantUtil;
import com.yello.server.infrastructure.batch.JobConfiguration;
import lombok.RequiredArgsConstructor;
import org.springframework.batch.core.JobParameters;
Expand All @@ -25,7 +26,7 @@ public class EventScheduler {
private final JobRepository jobRepository;
private final PlatformTransactionManager transactionManager;

@Scheduled(cron = "0 0 12 * * ?")
@Scheduled(cron = "0 0 12 * * ?", zone = ConstantUtil.GlobalZoneIdLabel)
public void lunchEventRunJob() {

//JobParamter의 역할은 반복해서 실행되는 Job의 유일한 ID임, 동일한 값이 세팅되면 두번째부터 실행안됨)
Expand Down
Loading