|
@@ -53,7 +53,7 @@ public class ParseSchedulerTask {
|
|
|
/**
|
|
|
* 定时任务每11分钟执行一次
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 */1 * * * ?")
|
|
|
+ @Scheduled(cron = "0 */11 * * * ?")
|
|
|
public void letter() {
|
|
|
String taskKey = "mo_email_parse_letter_task";
|
|
|
TaskRecordDO task = this.taskRecordService.getTaskRecord(taskKey, 11 * 2 * 60);
|
|
@@ -85,7 +85,7 @@ public class ParseSchedulerTask {
|
|
|
/**
|
|
|
* 定时任务每小时的15分和45分执行一次
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 */1 * * * ?")
|
|
|
+ @Scheduled(cron = "0 15,45 * * * ?")
|
|
|
public void report() {
|
|
|
String taskKey = "mo_email_parser_report_task";
|
|
|
TaskRecordDO task = this.taskRecordService.getTaskRecord(taskKey, 60 * 2 * 60);
|