涂煌豪
2022-04-11 bae4d41e9e63cbeed024cf8209011dd9c854d54c
1
2
3
4
5
6
7
8
9
global class RepairToPDFSchedule implements Schedulable {
    global void execute(SchedulableContext sc) {
        Database.executeBatch(new RepairToPDFBatch(),100);
        // System.schedule('NFM402Schedule每小时的第5分钟执行一次','0 5 * * * ?', new RepairToPDFSchedule());
        // System.schedule('NFM402Schedule每小时的第20分钟执行一次','0 20 * * * ?', new RepairToPDFSchedule());
        // System.schedule('NFM402Schedule每小时的第35分钟执行一次','0 35 * * * ?', new RepairToPDFSchedule());
        // System.schedule('NFM402Schedule每小时的第50分钟执行一次','0 50 * * * ?', new RepairToPDFSchedule());
    }
}