Delete Cron

This SDK method can be used to delete a particular cron. This can be done by passing the cron id or name to the deleteCron() SDK method.

Note: You can use this method to update details of both Pre-Defined Crons and Dynamic Crons.
    
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 2025-06-20 16:21:48 +0530 +0530