Commit a2f51444 authored by Vijay Akula's avatar Vijay Akula

commented the schedule run

parent b1a63950
......@@ -53,7 +53,7 @@ public class LeaveNotificationScheduler {
//@Scheduled(cron = "0 * * * * ?")
@Scheduled(cron = "00 50 15 * * 1-5")
//@Scheduled(cron = "00 50 15 * * 1-5")
public void scheduleLeaveMailForShift1Empls() throws IOException, MessagingException, MyTeamException {
//Shift 1(9:00 AM - 6:00 PM)
logger.info(Shifts.SHIFT1.getShiftType() + " :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now()));
......@@ -61,7 +61,7 @@ public class LeaveNotificationScheduler {
}
@Scheduled(cron = "00 00 18 * * 1-5")
//@Scheduled(cron = "00 00 18 * * 1-5")
public void scheduleLeaveMailForShift2Empls() throws IOException, MessagingException, MyTeamException {
//Shift-2(2:00 PM - 11:00 PM)--General Shift
logger.info(Shifts.SHIFT2.getShiftType() + " :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now()));
......@@ -69,7 +69,7 @@ public class LeaveNotificationScheduler {
}
@Scheduled(cron = "00 00 02 * * 2-6")
//@Scheduled(cron = "00 00 02 * * 2-6")
public void scheduleLeaveMailForShift3Empls() throws IOException, MessagingException, MyTeamException {
//Shift 3(10:00 PM - 6:00 AM)
logger.info(Shifts.SHIFT3.getShiftType() + " :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now()));
......@@ -77,7 +77,7 @@ public class LeaveNotificationScheduler {
}
@Scheduled(cron = "00 30 11 * * 1-5")
//@Scheduled(cron = "00 30 11 * * 1-5")
public void scheduleLeaveMailForShift4Empls() throws IOException, MessagingException, MyTeamException {
//Shift 4(7:30 AM - 3:30 PM)
logger.info(Shifts.SHIFT4.getShiftType() + " :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now()));
......@@ -85,7 +85,7 @@ public class LeaveNotificationScheduler {
}
@Scheduled(cron = "00 30 15 * * 1-5")
//@Scheduled(cron = "00 30 15 * * 1-5")
public void scheduleLeaveMailForShift5Empls() throws IOException, MessagingException, MyTeamException {
//Shift 5(11:30 AM - 7:30 PM)
logger.info(Shifts.SHIFT5.getShiftType() + " :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment