Advertisement
Guest User

Untitled

a guest
Oct 24th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. global without sharing class Job_ScheduledNutritionUpdate implements Schedulable {
  2.  
  3. // Usage for nightly run at 12:05 AM
  4. //Job_ScheduledNutritionUpdate snu = new Job_ScheduledNutritionUpdate();
  5. //string sch = '0 05 0 * 1-12 ? *';
  6. //system.schedule('Job_ScheduledNutritionUpdate',sch, snu);
  7.  
  8. global void execute(SchedulableContext sc) {
  9. System.debug('Ok, the Job_ScheduledNutritionUpdate is running!!!!');
  10.  
  11. // Start asynchronous Process
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement