global class UpdateAssetToCurrentMCSchedule implements Schedulable{ //0 5 0 * * ? //每天0:05运行 global void execute(SchedulableContext SC){ UpdateAssetToCurrentMCBatch u = new UpdateAssetToCurrentMCBatch(); Id execBTId = Database.executeBatch(u, 50); } }