Cron Expression समझाने वाला
Example
Input:
*/15 9-17 * * 1-5
Output:
At minute every 15 starting at 0 past hour 9 through 17, on Monday, Tuesday, Wednesday, Thursday, Friday. Fields: minute=*/15, hour=9-17, day of month=*, month=*, day of week=1-5 (0 and 7 are Sunday). Note: when both day-of-month and day-of-week are restricted, most cron implementations run when EITHER matches — a classic scheduling surprise.
इस converter के बारे में
Cron expressions ज़्यादातर teams में write-only होती हैं: कोई crontab में */15 9-17 * * 1-5 set करता है और वर्षों तक कोई इसे छूता नहीं। Explainer पाँच standard fields (minute, hour, day of month, month, day of week) को parse करता है — wildcards, lists, ranges और steps को संभालते हुए — और schedule को एक वाक्य और field-by-field breakdown के रूप में render करता है। यह classic trap को भी flag करता है: जब day-of-month और day-of-week दोनों set हों, तो standard cron तब चलता है जब कोई एक match करे (OR logic), दोनों नहीं — "the job ran on the wrong day" घटनाओं का इकलौता सबसे आम कारण। इस site का साथी Cron Expression Generator menus से expressions बनाता है अगर आप दूसरी तरफ़ जा रहे हैं।
अक्सर पूछे जाने वाले सवाल
*/15 का क्या अर्थ है?
Step value: उस field की हर 15 units — minutes के लिए, :00, :15, :30, :45।
क्या 7 day of week के रूप में valid है?
हाँ — standard cron में 0 और 7 दोनों का अर्थ Sunday है, एक quirk जिसे explainer अपने breakdown में note करता है।