From de62b11fd2203816306ba94226874b2e62420e83 Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期五, 15 四月 2022 09:42:05 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlympusSSBG
---
force-app/main/default/classes/LogAutoSendSchedule.cls | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/LogAutoSendSchedule.cls b/force-app/main/default/classes/LogAutoSendSchedule.cls
index 2a9e3be..a824752 100644
--- a/force-app/main/default/classes/LogAutoSendSchedule.cls
+++ b/force-app/main/default/classes/LogAutoSendSchedule.cls
@@ -8,12 +8,12 @@
// delete 瀹熻娓堛伩
Datetime addOneM = System.now().addMinutes(2);
String CRON_EXP = '0 ' + addOneM.minute() + ' ' + addOneM.hour() + ' ' + addOneM.day() + ' ' + addOneM.month() + ' ? ' + addOneM.year();
- List<CronTrigger> oldcron = [select Id from CronTrigger where CronExpression = :CRON_EXP and CronJobDetail.Name like 'LogAutoSend%'];
+ List<CronTrigger> oldcron = [select Id from CronTrigger where CronExpression = :CRON_EXP and CronJobDetail.Name like 'LogAutoSendSBG%'];
if (oldcron.size() == 0) {
- System.schedule('LogAutoSend' + CRON_EXP, CRON_EXP, new LogAutoSendSchedule());
+ System.schedule('LogAutoSendSBG' + CRON_EXP, CRON_EXP, new LogAutoSendSchedule());
}
for (CronTrigger ct :
- [SELECT Id FROM CronTrigger WHERE State = 'DELETED' and CronJobDetail.Name like 'LogAutoSend%']) {
+ [SELECT Id FROM CronTrigger WHERE State = 'DELETED' and CronJobDetail.Name like 'LogAutoSendSBG%']) {
System.abortJob(ct.id);
}
}
--
Gitblit v1.9.1