|
@@ -30,11 +30,11 @@ public class InterviewInviteScheduled {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 即将到达的面试提醒
|
|
* 即将到达的面试提醒
|
|
- * 每隔5分钟扫描一遍
|
|
|
|
|
|
+ * 每隔3分钟扫描一遍
|
|
**/
|
|
**/
|
|
@Async
|
|
@Async
|
|
@TenantIgnore
|
|
@TenantIgnore
|
|
- @Scheduled(cron = "0 */5 * * * ?")
|
|
|
|
|
|
+ @Scheduled(cron = "0 */3 * * * ?")
|
|
public void approachingInterview() {
|
|
public void approachingInterview() {
|
|
List<InterviewInviteDO> list = mapper.getApproachingInterviewList();
|
|
List<InterviewInviteDO> list = mapper.getApproachingInterviewList();
|
|
|
|
|