Search tools...
Developer Tools

Cron Expression Generator गाइड: Pro की तरह Tasks Schedule करें (2026)

Cron expressions कैसे काम करते हैं, common patterns, और schedules visualize करना।

7 मिनट पढ़ेंUpdated April 24, 2026Developer, DevOps, Linux, Scheduling

Cron expressions automated tasks schedule करने की universal language हैं — database backups, weekly reports, API polling। Cryptic दिखते हैं ("0 0 * * *") लेकिन simple rules हैं।

इस गाइड में 5-field cron syntax, common scheduling patterns, special characters देखेंगे।

Free Tool

Cron Expressions Generate करें — Free

Visual schedule builder।

Cron Generator खोलें ->

Cron Syntax (5 Fields)

* * * * *
| | | | |
| | | | +---- Day of week (0-7)
| | | +------ Month (1-12)
| | +-------- Day of month (1-31)
| +---------- Hour (0-23)
+------------ Minute (0-59)

Special Characters

  • * — every value
  • , — list (1,5,15)
  • - — range (1-5)
  • / — step (*/5)

Common Cron Patterns

ScheduleExpression
Every minute* * * * *
Every 5 minutes*/5 * * * *
Every hour0 * * * *
Daily midnight0 0 * * *
3:30 AM daily30 3 * * *
Monday 9 AM0 9 * * 1
Weekday 6 PM0 18 * * 1-5
1st of month0 0 1 * *

Special Cron Strings

StringEquivalent
@yearly0 0 1 1 *
@monthly0 0 1 * *
@weekly0 0 * * 0
@daily0 0 * * *
@hourly0 * * * *
@rebootSystem startup

Common Cron Mistakes

  • Time zone forget करना
  • Day of week 0 vs 7
  • Long-running tasks overlap
  • Output redirect न करना
  • PATH issues
Staging में Test करें

"*/1 * * * *" "0 */1 * * *" के बजाय 60x oops।

How to Use the Tool (Step by Step)

  1. 1

    Schedule Frequency Pick करें

    Every X minutes, hourly, daily।

  2. 2

    Specific Times Set करें

    Hour, minute, day।

  3. 3

    Generated Expression देखें

    Tool cron string build करता है।

  4. 4

    Schedule Visualize करें

    Next 5-10 execution times देखें।

  5. 5

    Copy और Test करें

    Crontab में add करें।

Frequently Asked Questions

Linux में cron job कैसे add करें?+

`crontab -e` open करता है।

Cron job logs कहाँ जाते हैं?+

Default system mail। Output redirect करें।

क्या cron हर second jobs run कर सकता है?+

नहीं, minimum 1 minute।

अगर server scheduled time पर down हो तो?+

Cron missed runs skip करता है।

Time zone के According कैसे schedule करूं?+

TZ environment variable set करें।

@reboot क्या है?+

System boot पर once run करता है।

Free — No Signup Required

Cron Expressions Generate करें — Free

Visual schedule builder।

Cron Generator खोलें ->

Related Guides