global class CreateMaintenanceTaskBatchSchedule implements Schedulable { global void execute(SchedulableContext sc) { Id execBTId = database.executebatch(new CreateMaintenanceTaskBatch(true)); } }