• Shanks
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I have a customer who needs to set the End Date on a Scheduled Apex job.  The Scheduled Apex is submitted by Apex, yet when we go through the UI, the End Date is blank and there appears to be no way to set it. 

 

So, does anyone know how you can set the the EndDate, via Apex, when submitting a new Scheduled Job?  I am using the System.ScheduleJob method and am NOT trying to use an Insert DML on CronTrigger

 

Thanks in advance...

 

Steve