how to run batch apex automatcally in salesforce 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);
}
}