Delete CronAdmin Scope

Note: Ensure you have installed the required package to use this SDK method.

You can pass a Pre-defined or Dynamic cron’s cron ID or name to the deleteCron() SDK method to delete it.

The jobScheduling reference used in the code snippets below is the component instance created to perform these operations.

copy
const deletedCronWithName = await jobScheduling.CRON.deleteCron('test_cron'); // delete cron with name
const deletedCronWithId = await jobScheduling.CRON.deleteCron('1234567890'); // delete cron with ID

Last Updated 2026-07-02 14:51:41 +0530 IST