Answers for "schedule class for batch class in salesforce"

1

schedule class for batch class in salesforce

global class classname implements schedulable
{
    global void execute(SchedulableContext sc)
    {
    batchclass b = new batchclass(); //ur batch class
      database.executebatch(b);
    }
}
Posted by: Guest on June-04-2020

Browse Popular Code Answers by Language