--- title: "Get Details of a Particular Cron" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/job-scheduling/cron/get-cron-details/ description: "This page describes the Java method to get details of a particular cron with sample code snippets." last_updated: 2026-09-08T11:07:33Z service: Job Scheduling type: general related_links: - name: "Component Help Documentation" url: /en/job-scheduling/help/cron/introduction/ - name: "JavaScript SDK Documentation" url: /en/sdk/javascript/v1/job-scheduling/cron/get-cron-details/ - name: "Python SDK" url: /en/sdk/python/v1/job-scheduling/cron/get-cron-details/ - name: "REST API Collection" url: /en/api/code-reference/job-scheduling/cron/get-cron/#GetCronByIdentifier --- # Get Details of a Particular Cron Use the following SDK to get all available details of a particular [**Pre-Defined Cron**](https://docs.catalyst.zoho.com/en/job-scheduling/help/implementation/submit-job-predefined-cron/) or [**Dynamic Cron**](https://docs.catalyst.zoho.com/en/job-scheduling/help/implementation/submit-job-dynamic-cron/). You need to pass the [`cron id`](https://docs.catalyst.zoho.com/en/job-scheduling/help/cron/key-concepts/#cron-id) or the name of the cron to `getCron()` SDK method. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.jobscheduling.beans.cron.ZCCronDetails; ``` ```java 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 ```