Is it possible to set the
EndTime fields of a
CronTrigger object ?
I'm not able to set this fields in Apex code, I have the error below :
Field StartTime is not writeable
I know I can do it directly in CRON expression but only for simple expression.
For example, if I want to schedule a job every Monday at 2:00PM between 23th March 2015 and 12th January 2016, how can I do it with a CRON expression ?
When I schedule an APEX class in Salesforce GUI, I can choose the startTime and EndTime, so I think it's possible !
Any ideas ?