Sravanthy,
請幫助我瞭解這裏,有什麼scjob和schedulefieldupdtebatch?
簽名System.schedule方法如下,更多詳情請查看link或details
public static String schedule(String jobName, String cronExpression, Object schedulableClass)
假設schedulefieldupdtebatch是SchedulableClass,您可以在開發者控制檯執行下面的代碼片段。
/*Apex code snippet*/
//Instantiate Schedulable batch Schedulefieldupdtebatch
Schedulefieldupdtebatch sc = new Schedulefieldupdtebatch();
//Set Scheduler time Oct 20 10:10 am PST
String schTime = '0 10 10 20 10 ?';
//This will execute Batch on coming Oct 20 10:10 a PST. Please check Scheduled job for more details
System.schedule(’Schedule Dup Batch, schTime, sc);
/*Apex code snippet*/
如果還有其他問題,請告知我。