global class NFM402Schedule implements Schedulable { global void execute(SchedulableContext sc) { Database.executeBatch(new NFM402Batch(),100); // System.schedule('NFM402Schedule每小时的第5分钟执行一次','0 5 * * * ?', new NFM402Schedule()); // System.schedule('NFM402Schedule每小时的第20分钟执行一次','0 20 * * * ?', new NFM402Schedule()); // System.schedule('NFM402Schedule每小时的第35分钟执行一次','0 35 * * * ?', new NFM402Schedule()); // System.schedule('NFM402Schedule每小时的第50分钟执行一次','0 50 * * * ?', new NFM402Schedule()); } }