Created
August 6, 2019 10:35
-
-
Save bdovhan/76326745c347dde00717c0318e3bc15b to your computer and use it in GitHub Desktop.
Dummy Batchable Apex Class B
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class b implements Database.Batchable<SObject>,Database.AllowsCallouts{ | |
public Database.QueryLocator start(Database.BatchableContext bc) { | |
return Database.getQueryLocator('SELECT id FROM user WHERE IsActive=true limit 1'); | |
} | |
public void execute(Database.BatchableContext bc, List<User> users) { | |
new Http().send(new HttpRequest()); | |
} | |
public void finish(Database.BatchableContext bc) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment