कैसे इस्तेमाल करें
- Expression लिखें या paste करें, जैसे 0 9 * * 1-5।
- Plain-language description और हर field की value पढ़ें।
- Server का time zone चुनकर अगली दस run times देखें।
- Common schedule से शुरू करने के लिए दाईं ओर example चुनें।
विकल्पों की जानकारी
- Fields
- पाँच fields — minute, hour, day of month, month और day of week। आगे sixth field seconds जोड़ती है, जैसा Spring, Quartz और node-cron में।
- Special characters
- * कोई भी value; , list (1,15); - range (1-5); / step (*/10 = हर 10)। Quartz day fields में no specific value के लिए ? उपयोग करता है।
- Day of week
- 0 या 7 Sunday और 1 Monday है। MON-FRI जैसे names भी चलते हैं।
- Time zone
- Cron server के time zone में चलता है, cloud servers पर अक्सर UTC। यहाँ चुनने से daylight-saving सहित असली run time दिखता है।
Common schedules
| Expression | Runs |
|---|---|
* * * * * |
हर मिनट |
*/15 * * * * |
हर 15 मिनट |
0 * * * * |
हर घंटे की शुरुआत |
0 9 * * 1-5 |
Weekdays 09:00 |
30 2 * * * |
हर दिन 02:30 |
0 0 * * 0 |
हर Sunday midnight |
0 0 1 * * |
हर महीने की 1 तारीख midnight |
0 0 1 1 * |
1 January midnight |
अक्सर पूछे जाने वाले सवाल
*/5 * * * * का अर्थ क्या है?
हर 5 मिनट — हर घंटे minute 0, 5, 10 और आगे।
Job गलत hour पर क्यों चला?
अक्सर server UTC में चल रहा होता है और schedule local time में लिखा गया होता है। ऊपर UTC चुनकर असली times देखें या scheduler में CRON_TZ/TZ set करें।
Day of month और day of week कैसे मिलते हैं?
Standard cron में दोनों restricted हों तो कोई एक match होने पर job चलती है — जैसे 1st और हर Monday। Quartz एक field में ? मांगकर इसे अलग करता है।
क्या Kubernetes CronJob और GitHub Actions schedules समर्थित हैं?
हाँ, दोनों standard 5-field cron उपयोग करते हैं। GitHub Actions default रूप से UTC में schedule evaluate करता है।
प्राइवेसी
यह टूल पूरी तरह आपके ब्राउज़र में चलता है। आपकी फ़ाइलें और टेक्स्ट आपके डिवाइस पर ही प्रोसेस होते हैं और हमारे सर्वर पर कभी अपलोड नहीं होते।