Pause Cron
Note: This SDK is currently in deprecation. Migrate to JavaScript SDK now.
This SDK method can be used to temporarily halt a cron from submitting a job to the job Pool. You need to pass the cron id or name of the cron you wish to pause to the pauseCron() SDK method.
Note: You can use this method to update details of both Pre-Defined Crons and Dynamic Crons.
copy
const pausedCronWithName = await jobScheduling.CRON.pauseCron('test_cron'); // pause cron with cron name
const pausedCronWithId = await jobScheduling.CRON.pauseCron('1234567890'); // pause cron with cron Id
Last Updated 2026-09-08 16:37:33 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit