사용자 도구

사이트 도구


java:quartz

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:quartz [2023/09/14 13:37]
kwon37xi
java:quartz [2023/11/06 14:47] (현재)
kwon37xi [Quartz]
줄 3: 줄 3:
   * http://www.quartzdesk.com/   * http://www.quartzdesk.com/
   * [[springframework:batch:quartz_job_launcher|Spring Batch Quartz Job Launcher]]   * [[springframework:batch:quartz_job_launcher|Spring Batch Quartz Job Launcher]]
 +  * [[java:shedlock|@ShedLock]]
  
 ===== 튜토리얼 ===== ===== 튜토리얼 =====
  
-  * [[http://examples.javacodegeeks.com/enterprise-java/quartz/quartz-scheduler-tutorial/|Quartz Scheduler Tutorial Examples Java Code Geeks]]+  * [[https://www.baeldung.com/quartz|Introduction to Quartz | Baeldung]]
   * [[https://www.baeldung.com/spring-quartz-schedule|Scheduling in Spring with Quartz | Baeldung]]   * [[https://www.baeldung.com/spring-quartz-schedule|Scheduling in Spring with Quartz | Baeldung]]
  
줄 19: 줄 20:
 ===== Job List ===== ===== Job List =====
   * [[https://mkyong.com/java/how-to-list-all-jobs-in-the-quartz-scheduler/|How to list all Jobs in the Quartz Scheduler - Mkyong.com]]   * [[https://mkyong.com/java/how-to-list-all-jobs-in-the-quartz-scheduler/|How to list all Jobs in the Quartz Scheduler - Mkyong.com]]
 +
 +===== 수동 실행 manual trigger =====
 +  * https://stackoverflow.com/a/47674546
 +
 +<code java>
 +// Create a new Job 
 +JobKey jobKey = JobKey.jobKey("myNewJob", "myJobGroup");
 +JobDetail job = JobBuilder.newJob(MyJob.class).withIdentity(jobKey).storeDurably().build();
 +
 +// Register this job to the scheduler
 +scheduler.addJob(job, true);
 +
 +// Immediately fire the Job MyJob.class
 +scheduler.triggerJob(jobKey);
 +</code>
  
 ===== 참조 ===== ===== 참조 =====
java/quartz.1694666278.txt.gz · 마지막으로 수정됨: 2023/09/14 13:37 저자 kwon37xi