Subversion Repositories SmartDukaan

Rev

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

Rev 24568 Rev 24653
Line 1... Line 1...
1
package com.smartdukaan.cron.scheduled;
1
package com.smartdukaan.cron.scheduled;
2
 
2
 
3
import java.io.IOException;
3
import java.io.IOException;
4
import java.text.MessageFormat;
-
 
5
import java.time.LocalDate;
-
 
6
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
7
import java.util.List;
5
import java.util.List;
8
 
6
 
9
import javax.mail.MessagingException;
7
import javax.mail.MessagingException;
10
 
8
 
Line 75... Line 73...
75
		scheduledTasks.sendMailToPartnerAboutTargetAndSales();
73
		scheduledTasks.sendMailToPartnerAboutTargetAndSales();
76
	}
74
	}
77
	@Scheduled(cron="0 0/30 * * * *")
75
	@Scheduled(cron="0 0/30 * * * *")
78
	public void escalateTicket() throws ProfitMandiBusinessException
76
	public void escalateTicket() throws ProfitMandiBusinessException
79
	{
77
	{
-
 
78
		log.info("escalate ticket");
80
		scheduledTasks.escalateTicket();
79
		scheduledTasks.escalateTicket();
81
	}
80
	}
-
 
81
	@Scheduled(cron="0 30 10 * * *")
-
 
82
	public void alertTicketToUser() throws Exception
-
 
83
	{
-
 
84
		log.info("alert for ticket");
-
 
85
		scheduledTasks.alertforTicket();
-
 
86
	}
-
 
87
	@Scheduled(cron="0 0/1 * * * *")
-
 
88
	public void dailySaleNotification() throws Exception
-
 
89
	{
-
 
90
		log.info("daily send Notification");
-
 
91
		scheduledTasks.sendDailySalesReportNotificationToPartner();
-
 
92
	}
-
 
93
	
82
}
94
}