schedule a batch apex class code example
Example: 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);
}
}