Calling batch process from apex code in salesforce

Calling batch process from apex code in salesforce

global class scheduledMerge implements Schedulable
{
            global void execute(SchedulableContext SC)
            {
                        mergeNumbers M = new mergeNumbers();// Batch Apex class to be called
            }
}

Cheers!!!

Leave a Reply