스케쥴러 추가
This commit is contained in:
parent
24d385773c
commit
fe88a09c12
@ -24,8 +24,8 @@ public class ScheduledTasks {
|
||||
@Autowired
|
||||
private MorakService morakService;
|
||||
|
||||
@Scheduled(cron = "*/50 * * * * MON-FRI")
|
||||
// @Scheduled(cron = "0 40 10 * * MON-FRI")
|
||||
// @Scheduled(cron = "*/50 * * * * MON-FRI")
|
||||
@Scheduled(cron = "0 40 10 * * MON-FRI")
|
||||
public void noonJob() throws IOException {
|
||||
System.out.println("It's noon!");
|
||||
morakService.morakMenu();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user