Pause Cron

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 pause() SDK method.

Note: You can use this method to update details of both Pre-Defined Crons and Dynamic Crons.
    
copy

paused_cron = job_scheduling.CRON.pause(‘1234567890’) # disable a cron with the cron Id

    
copy

paused_cron = job_scheduling.CRON.pause(’test_cron’) # disable a cron with the cron name

Last Updated 2025-06-20 16:21:48 +0530 +0530