Job.apex

  • Docs
  • Tutorials
Docs Menu
  • Job
  • Job Methods
    • Constructors
    • Common Methods
    • Cron Expression Job Methods
    • Repeating Job Methods
  • Jobs Methods

Jobs Methods Guide

Jobs Methods

Jobs Methods Reference

Here is the reference of the methods from Jobs.

MethodDescription
static getInstance()Get the singleton instance
CronTrigger getCronTriggerById(Id)Get the cron trigger by id
CronTrigger getCronTriggerByName(String)Get the cron trigger by name
List getCronTriggers()Get all the cron triggers
List getCronTriggers(String)Get all the cron triggers that match the name
clean(String)Delete the job specified by the job name
schedule(Job)Schedule the job
unschedule(CronTrigger)Unschedule the job
unscheduleById(Id)Unschedule the job
unscheduleByName(String)Unschedule the job
String reschedule(Job)Reschedule the job

Contribute on Github! Edit this section.