समय/संख्याएं
Cron Parser
cron एक्सप्रेशन पार्स करें (5 या 6 फ़ील्ड, @-शॉर्टकट सहित) — शेड्यूल का सामान्य भाषा में विवरण और चुने गए टाइम ज़ोन में अगले रन।
A cron expression is a compact five- or six-field schedule format (minute, hour, day of month, month, day of week, sometimes seconds) that's hard to read at a glance. This tool translates it into plain language and lists the next run times in your chosen timezone.
How to use it
- Paste a cron expression (e.g. 0 3 * * * or a shorthand like @daily) and a plain-language schedule description appears instantly.
- The list of upcoming runs shows exact dates and times in your chosen timezone — handy for checking whether a job collides with another.
- Both 5-field cron expressions (standard Unix cron) and 6-field ones with seconds (Quartz and similar schedulers) are supported.
Common uses
- Checking a job's schedule before deploying — confirming the cron expression really runs the script when intended.
- Debugging a job that fires more or less often than expected.
- Building a new cron schedule without looking up the syntax reference every time.
Things to keep in mind
In classic cron, the day-of-month and day-of-week fields combine with OR rather than AND when neither is "*" — a frequent cause of unexpected extra runs.
The server running cron may be set to a different timezone than the one you're assuming — always confirm which timezone the schedule is interpreted in.
इस टूल के बारे में लेख: Cron एक्सप्रेशन: टास्क शेड्यूल कैसे डिकोड करें
अक्सर पूछे जाने वाले प्रश्न
6-फ़ील्ड cron एक्सप्रेशन 5-फ़ील्ड से कैसे अलग है?
स्टैंडर्ड cron 5 फ़ील्ड्स इस्तेमाल करता है (मिनट, घंटा, महीने का दिन, महीना, हफ़्ते का दिन)। कुछ शेड्यूलर्स एक्सप्रेशन की शुरुआत में छठी सेकंड फ़ील्ड जोड़ते हैं — टूल दोनों फ़ॉर्मेट्स को स्वतः पहचानता है।
@daily जैसे शॉर्टकट्स का क्या मतलब है?
ये सामान्य शेड्यूल्स के लिए सुविधाजनक उपनाम हैं: @daily "0 0 * * *" (हर दिन आधी रात) के बराबर है, @hourly "0 * * * *" के बराबर है, और @weekly, @monthly, @yearly इसी तरह काम करते हैं।
आने वाले रन किस टाइमज़ोन में गणना किए जाते हैं?
"Timezone" फ़ील्ड में चुने गए टाइमज़ोन में। वही cron एक्सप्रेशन टाइमज़ोन के आधार पर अलग वास्तविक रन टाइम देता है, इसलिए वही टाइमज़ोन बताना ज़रूरी है जिसमें आपका शेड्यूलर वास्तव में चलता है।
क्या डेलाइट सेविंग टाइम बदलना टास्क के चलने पर असर डालता है?
हां, अगर चलने का समय घड़ी बदलने के दौरान किसी मौजूद न होने वाले या दोहराए जाने वाले घंटे पर पड़ता है। क्रिटिकल टास्क के लिए सामान्य ट्रांज़िशन विंडो के बाहर समय शेड्यूल करना या स्पष्ट रूप से UTC इस्तेमाल करना ज़्यादा भरोसेमंद है।
महीने के दिन और हफ़्ते के दिन दोनों फ़ील्ड तय होने पर एक्सप्रेशन में केवल एक मैच की उम्मीद थी, पर वह दोनों पर क्यों चला?
क्लासिक cron में जब दोनों फ़ील्ड स्टार (*) नहीं होतीं, तो ये दोनों फ़ील्ड AND की बजाय OR से जुड़ जाती हैं — टास्क तब चलता है जब दोनों में से कोई एक शर्त पूरी होती है, भले ही दूसरी शर्त पूरी न हो।