Getting an error when trying to create this batch class. Could you advise what I'm doing wrong?
Error: Compile Error: Class LocationProcessorBatch must implement the method: void Database.Batchable.execute(Database.BatchableContext, List) at line 1 column 14
global class LocationProcessorBatch implements Database.Batchable<sObject> { global Integer count = 0; global Database.QueryLocator start(Database.BatchableContext bc){ return Database.getQueryLocator('Select Id, Next_Inspection_Date__c FROM SVMXC_Site__c'); } global void execute(Database.BatchableContext bc, List<SVMXC_Site__c> l_list){ List<SVMXC_Site__c> l_list_new = new List<SVMXC_Site__c>(); for(SVMXC_Site__c l:l_list){ l.Next_Inspection_Date= Month()+'/15/'+Year(); l_list_new.add(l); count+=1; } update l_list_new; } global void finish(Database.BatchableContext bc){ System.debug('Count='+count); } }