liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
// 从salesforce系统画面上加计划作业,每天凌晨3点跑
global class RentalApplyDailySchedule implements Schedulable {
    global void execute(SchedulableContext sc) {
        //20240103 ProRegisterBatch 停用后改动 
        Id execBTId = Database.executebatch(new RentalApplyDailyBatch(true),100);
        // Id execBTId = Database.executeBatch(new RentalApplyDailyBatch(), 100);
    }
}