新增前端vue
This commit is contained in:
@@ -36,16 +36,14 @@ public class mailJob {
|
||||
@Resource(name = "hostMonitorExecutor")
|
||||
private ThreadPoolTaskExecutor hostMonitorExecutor;
|
||||
|
||||
|
||||
private String MAIL_PATH = "/ogsapp/mail";
|
||||
|
||||
private final String MAIL_PATH = "/ogsapp/mail";
|
||||
private static final LoggerUtils logger = LoggerUtils.getInstance();
|
||||
|
||||
private static final boolean CRON_JOB = Boolean.parseBoolean(Global.getConfig("biz.cron.MailJob", "false"));
|
||||
private static final String CRON_JOB = Global.getConfig("biz.cron.MailJob", "false");
|
||||
|
||||
@Scheduled(cron = "10 0/15 * * * ?")
|
||||
public void getMailReceived() {
|
||||
if (CRON_JOB) {
|
||||
if (CRON_JOB.equals("true")) {
|
||||
List<BizMailAccount> accounts = bizMailAccountService.findList(new BizMailAccount());
|
||||
List<CompletableFuture<Void>> futures = new ArrayList<>(accounts.size());
|
||||
for (BizMailAccount account : accounts) {
|
||||
|
||||
Reference in New Issue
Block a user