How to Schedule a Burndown Chart Calculation

Updated 8 months ago by Copado Solutions

  1. Go to Setup.
  2. Select the Apex Classes.
  3. Click on Schedule Apex.
    1. Select the BurnDownItemScheduler class.
    2. Frequency Weekly (Select all days).
    3. Define Start and End Date.
    4. Select the time that you want to schedule the job.
  4. Click on Save.

Alternatively, execute this method in the Anonymous Apex screen in the Developer Console. For example run the calculation every night at 10:21pm:

copado.BurnDownItemScheduler.scheduleIt('BurnDownItemScheduler create graph for user stories', '0 21 22 * * ?');

How did we do?