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
vanessa veronvanessa veron 

CronTrigger UPDATE

Hello,

How do I update the CronTrigger table after deleting a JOB schedulable and recreate it?
I want to update informing the last date of execution (PreviousFireTime).

How do I do this?
Thank you
Best Answer chosen by vanessa veron
Pramod_SFDCPramod_SFDC
Hi,

Unfortunately, this is not possible as this object is not updateable. Only these ( describeSObjects(), query(), retrieve()) are the Sup[ported calls

Please check the below mentioned link for more information :

>> http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_crontrigger.htm


Thanks
Pramod

All Answers

Pramod_SFDCPramod_SFDC
Hi,

Unfortunately, this is not possible as this object is not updateable. Only these ( describeSObjects(), query(), retrieve()) are the Sup[ported calls

Please check the below mentioned link for more information :

>> http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_crontrigger.htm


Thanks
Pramod
This was selected as the best answer
vanessa veronvanessa veron
thank you!!!!