LiJinHuan
2022-03-22 c0515c2f47cafe8da39089d2173e7b41f56e5f3e
1
2
3
4
5
6
7
8
9
10
11
12
/**
Database.executeBatch(new UpdateRentalApplyBatch());
system.schedule('UpdateRentalApplyBatchSchedule01','0 30 1 * * ? 2015-2035', new UpdateRentalApplyBatchSchedule());
*/
global class UpdateRentalApplyBatchSchedule implements Schedulable {
 
    // 每个小时的15,30,45,00分执行,即15分钟执行一次
    global void execute(SchedulableContext SC) {
        // 10备品借出申请历史ずつ処理する
        Id execBTId = Database.executeBatch(new UpdateRentalApplyBatch(), 200);
    }
}