Skip to content

Instantly share code, notes, and snippets.

@eduardobatistadev
Created September 1, 2023 17:33
Show Gist options
  • Save eduardobatistadev/07d407ff79a40738d9338bf6b1569ab4 to your computer and use it in GitHub Desktop.
Save eduardobatistadev/07d407ff79a40738d9338bf6b1569ab4 to your computer and use it in GitHub Desktop.
Agendar um Schedule via Developer Console
//Execute o código abaixo no developer console.
// gerador http://www.cronmaker.com/?1
AccountBatchJobscheduled m = new AccountBatchJobscheduled();
String sch = '0 0 0 ? * * * ';
String jobID = system.schedule('Merge Job', sch, m);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment