Activity › Forums › Salesforce® Discussions › Can we edit a scheduled job in Salesforce Apex?
Tagged: Apex Page, Apex Scheduled Jobs, Customization, Salesforce Apex, Salesforce Apex Code, Scheduler Class
-
Can we edit a scheduled job in Salesforce Apex?
Posted by Sanjana on July 3, 2018 at 8:23 AMCan we edit a scheduled job in Apex?
Kirandeep replied 6 years, 3 months ago 7 Members · 6 Replies -
6 Replies
-
Hello Sanjana,
You cannot update the scheduled jobs. You need to delete the existing job and then schedule it again. - [adinserter block='9']
-
Hi Sanjana,
It seems the once a “Scheduled job” has attained its end date salesforce does not provide the facility of extending it into future.
The best way ahead would be to let it remain and schedule a new one. In case you wish to remove clutter you even can delete the existing one.
So as you mention in your post you yourself have figured it out and yes once a scheduled job expires you cannot edit the end date.
Thanks.
-
Hi Sanjana,
Existing Apex scheduled jobs are not editable. A simple change like updating the frequency means you have to delete the old one, and then create a new one.
Scheduling frequency details that you enter when creating a scheduling job do not show up in Scheduled Job page. This makes it difficult to know how these were setup.
Thanks.
-
Hi Sanjana,
No we cannot edit a scheduled job in salesforce
-
Hi Sanjana,
No,existing Apex scheduled jobs are not editable.You need to delete old one and then create new one.
Log In to reply.