Skip to content

Instantly share code, notes, and snippets.

View Confirm4Crit's full-sized avatar

Miles Robson Confirm4Crit

View GitHub Profile
@Confirm4Crit
Confirm4Crit / ContactOverride.auradoc
Created September 9, 2019 19:15
Contact Override Gist
<aura:documentation>
<aura:description>Documentation</aura:description>
<aura:example name="ExampleName" ref="exampleComponentName" label="Label">
Example Description
</aura:example>
</aura:documentation>
public without sharing class DoStuffApex implements Database.Batchable<SObject>, Database.AllowsCallouts, Schedulable {
public List<String> errors = new List<String>();
public DoStuffApex() {
}
public void execute(SchedulableContext param1) {
DoStuffApex pUpdateOwner = new DoStuffApex();
database.executeBatch(pUpdateOwner, 10000);