Activity Forums Salesforce® Discussions 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);

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos