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!!!

No comments:

Post a Comment