/** * 每天的凌晨1点执行 * 计算最新预定归还日的长假借用的逻辑 * */ global class RentalApplyFinalReplyDaySchedule implements Schedulable { global void execute(SchedulableContext SC) { Id execBTId = Database.executeBatch(new RentalApplyFinalReplyDayBatch(), 200); } }