Activity Forums Salesforce® Discussions Can we edit a scheduled job in Salesforce Apex?

  • shradha jain

    Member
    August 6, 2018 at 6:21 am

    Hello Sanjana,
    You cannot update the scheduled jobs. You need to delete the existing job and then schedule it again.

  • madhulika shah

    Member
    September 6, 2018 at 7:26 am

    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.

  • Parul

    Member
    September 8, 2018 at 6:21 am

    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.

  • Pooja

    Member
    February 11, 2020 at 2:50 pm

    No, We can not edit a scheduled job in Salesforce apex.

  • Shubham

    Member
    February 11, 2020 at 3:10 pm

    Hi Sanjana,

    No we cannot edit a scheduled job in salesforce

  • Kirandeep

    Member
    February 11, 2020 at 3:21 pm

    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.

Popular Salesforce Blogs