global class RepairWorkdaySchedule implements Schedulable { global final String repairId; global RepairWorkdaySchedule() { repairId = null; } global RepairWorkdaySchedule(String id) { repairId = id; } global void execute(SchedulableContext SC) { Id execBTId = Database.executeBatch(new RepairWorkdayBatch(repairId), 20); } }