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:
copyimport com.zc.component.jobscheduling.beans.cron.ZCCronDetails;
copyZCCronDetails 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
Yes
No
Send your feedback to us
Skip
Submit