function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Murali AnandampillaiMurali Anandampillai 

scheduled job using cron/apex does not populate End Date

Hi All,

I am trying to schedule a batch job using the Cron syntax from developer console
 
PRM_ManualLeadShareScheduler m = new PRM_ManualLeadShareScheduler();
String sch = '0 0 23 ? * MON-SUN 2016-2017';
String jobID = system.schedule('PRM_ManualLeadShareScheduler', sch, m);


The start date is getting set correctly but the end date is not getting set. It is blank.

Help!

Thanks,
Murali