Activity Forums Salesforce Questions and Answers How to delete the Scheduled Batch Class in Salesforce ?

  • How to delete the Scheduled Batch Class in Salesforce ?

  • Kirandeep

    Member
    March 16, 2020 at 5:12 pm

    How to delete the Scheduled Batch Class in Salesforce ?

  • Aditya

    Member
    March 17, 2020 at 12:27 pm

    Hi Kirandeep,
    We can delete the Scheduled batch Class in Salesforce By using the following code:
    string SCHEDULE_NAME = 'test';
    System.schedule(SCHEDULE_NAME, '0 15 0-23 * * ?', new ScheduledMaintenance());
    System.abortJob(SCHEDULE_NAME);

Viewing 1 - 2 of 2 posts

Log In to reply.





Popular Salesforce Blogs

Popular Salesforce Videos