Resume Cron

This SDK method can be used to resume the operations of a cron that had been previously paused. This can be done by passing the paused cron id or name to the resumeCron() SDK method.

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

Ensure the following packages have been imported:

    
copy
import com.zc.component.jobscheduling.beans.cron.ZCCronDetails;
    
copy
ZCCronDetails resumedCronA = jobScheduling.cron.resumeCron(123456789l); // resume cron with cron id ZCCronDetails resumedCronB = jobScheduling.cron.resumeCron("test_cron"); // resume cron with cron name

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