Subversion Repositories SmartDukaan

Rev

Rev 28785 | Rev 28837 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28785 Rev 28788
Line 158... Line 158...
158
		log.info("startTime" + LocalDateTime.now());
158
		log.info("startTime" + LocalDateTime.now());
159
		scheduledTasks.partnerProblemAlert();
159
		scheduledTasks.partnerProblemAlert();
160
		log.info("endTime" + LocalDateTime.now());
160
		log.info("endTime" + LocalDateTime.now());
161
	}
161
	}
162
	
162
	
163
	@Scheduled(cron = "0 45 10 ? * 2-6")
163
	@Scheduled(cron = "0 30 10 * * MON-SAT")
164
	public void sendMorningAttendanceAlert() throws Throwable {
164
	public void sendMorningAttendanceAlert() throws Throwable {
165
		log.info("startTime" + LocalDateTime.now());
165
		log.info("startTime" + LocalDateTime.now());
166
		scheduledTasks.sendAttendanceMorningAlert();
166
		scheduledTasks.sendAttendanceMorningAlert();
167
		log.info("endTime" + LocalDateTime.now());
167
		log.info("endTime" + LocalDateTime.now());
168
	}
168
	}
169
	
169
	
170
	@Scheduled(cron = "0 30 20 ? * 2-6")
170
	@Scheduled(cron = "0 30 20 * * MON-SAT")
171
	public void sendEveningAttendanceAlert() throws Throwable {
171
	public void sendEveningAttendanceAlert() throws Throwable {
172
		log.info("startTime" + LocalDateTime.now());
172
		log.info("startTime" + LocalDateTime.now());
173
		scheduledTasks.sendAttendanceEveningAlert();
173
		scheduledTasks.sendAttendanceEveningAlert();
174
		log.info("endTime" + LocalDateTime.now());
174
		log.info("endTime" + LocalDateTime.now());
175
	}
175
	}