Subversion Repositories SmartDukaan

Rev

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

Rev 25351 Rev 25370
Line 44... Line 44...
44
	}
44
	}
45
 
45
 
46
	@Scheduled(cron = "0 0 1 * * *")
46
	@Scheduled(cron = "0 0 1 * * *")
47
	public void sendPartnerInvestmentDetails() throws Throwable {
47
	public void sendPartnerInvestmentDetails() throws Throwable {
48
		scheduledTasks.sendPartnerInvestmentDetails();
48
		scheduledTasks.sendPartnerInvestmentDetails();
-
 
49
		scheduledTasks.sendTargetVsSalesReport(null);
49
	}
50
	}
50
 
51
 
-
 
52
 
51
	@Scheduled(cron = "0 0 8 * * *")
53
	@Scheduled(cron = "0 0 8 * * *")
52
	public void sendStockAgeingReport() throws Throwable {
54
	public void sendStockAgeingReport() throws Throwable {
53
		scheduledTasks.sendAgeingReport();
55
		scheduledTasks.sendAgeingReport();
54
	}
56
	}
55
 
57
 
56
	@Scheduled(cron = " 0 0 23 * * *")
58
	/*@Scheduled(cron = " 0 0 23 * * *")
57
	public void sendMail() throws Exception {
59
	public void sendMail() throws Exception {
58
		log.info("sending mail");
60
		log.info("sending mail");
59
		scheduledTasks.sendPartnerInvestmentDetails();
61
		scheduledTasks.sendPartnerInvestmentDetails();
60
	}
62
	}*/
61
 
63
 
62
	@Scheduled(cron = "0 0/30 1-23 * * *")
64
	@Scheduled(cron = "0 0/30 1-23 * * *")
63
	public void escalateTicket() throws ProfitMandiBusinessException {
65
	public void escalateTicket() throws ProfitMandiBusinessException {
64
		log.info("escalate ticket");
66
		log.info("escalate ticket");
65
		ticketRelatedScheduledTask.escalateTicket();
67
		ticketRelatedScheduledTask.escalateTicket();
Line 69... Line 71...
69
	public void alertTicketToUser() throws Exception {
71
	public void alertTicketToUser() throws Exception {
70
		log.info("alert for ticket");
72
		log.info("alert for ticket");
71
		ticketRelatedScheduledTask.alertforTicket();
73
		ticketRelatedScheduledTask.alertforTicket();
72
	}
74
	}
73
 
75
 
74
	@Scheduled(cron = "0 0 15,17,19,23 ? * *")
76
	/*@Scheduled(cron = "0 0 15,17,19,23 ? * *")
75
	public void dailySaleNotification() throws Exception {
77
	public void dailySaleNotification() throws Exception {
76
		log.info("daily send Notification");
78
		log.info("daily send Notification");
77
		scheduledTasks.sendDailySalesReportNotificationToPartner(null);
79
		scheduledTasks.sendDailySalesReportNotificationToPartner(null);
78
	}
80
	}*/
79
 
81
 
80
	@Scheduled(cron = "0 0 6 * * *")
82
	@Scheduled(cron = "0 0 6 * * *")
81
	public void dailyReconciliation() throws Exception {
83
	public void dailyReconciliation() throws Exception {
82
		reconciliation.dailyReconciliation();
84
		reconciliation.dailyReconciliation();
83
	}
85
	}