张宇恒
2022-05-06 3b43925ca3211c861a2818a089907d34b5480aa5
1
2
3
4
5
6
7
8
9
/**
Database.executeBatch(new RentalApplyDetailStatusUpdateBatch());
system.schedule('RentalApplyDetailStatusUpdateSchedule01','0 35 1 * * ? 2015-2035', new RentalApplyDetailStatusUpdateSchedule());
*/
global class RentalApplyDetailStatusUpdateSchedule implements Schedulable {
    global void execute(SchedulableContext sc) {
        Id execBTId = Database.executeBatch(new RentalApplyDetailStatusUpdateBatch(), 100);
    }
}