When i try to create a scheduler class I am getting an error
Method does not exist or incorrect signature: void schedule(String, String, UpdateCloseDateOpportunityBatchClass) from the type System
My scheduler class :
global class SchduleBatchUpdateOppCloseDate implements Schedulable{
global void execute(SchedulableContext SC) {
//UpdateCloseDateOpportunityBatchClass p = new UpdateCloseDateOpportunityBatchClass();
String sch = '0 0 0 1 JAN,APR,JUL,OCT ? *';
System.schedule('Quarter Job', '0 0 0 1 JAN,APR,JUL,OCT ? *', new UpdateCloseDateOpportunityBatchClass ());
}
}
Do any one have any idea what is wrong with the code. I am using Salesforce.com API Version is 41.0