Get Details of a Particular Cron

Use the following SDK to get all available details of a particular Pre-Defined Cron or Dynamic Cron. You need to pass the cron id or the name of the cron to getCron() SDK method.

Ensure the following packages have been imported:

    
copy
import com.zc.component.jobscheduling.beans.cron.ZCCronDetails;
    
copy
ZCCronDetails cronA = jobScheduling.cron.getCron(12378634912l); // get cron details with cron id ZCCronDetails cronB = jobScheduling.cron.getCron("test_cron"); // get cron details with cron name

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