Skip to content

Instantly share code, notes, and snippets.

@dancinllama
Created December 6, 2013 15:50
Show Gist options
  • Save dancinllama/7826948 to your computer and use it in GitHub Desktop.
Save dancinllama/7826948 to your computer and use it in GitHub Desktop.
Schedulable class
global class MySchedulableClass implements Schedulable{
global void execute(SchedulableContext sc){
Database.execute(new MyBatchClass());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment