Developer Mise à jour de l'outil il y a 2 jours

Cron Expression Generator & Explainer

Build and explain standard five-field cron schedules. Choose a preset or custom expression, read the field-by-field description and preview the next 1–50 run times.

Cron has no timezone field. The server or scheduler decides when it runs, and the page does not save or deploy the job.

Toujours gratuit Facile à utiliser Des résultats immédiats Confidentiel et sécurisé

Utilisation Cron Expression Generator & Explainer

Collez une expression cron valide en 5 parties et l'outil de génération détectera automatiquement les modèles courants.
* * * * *
Prochaines représentations
Limite
    Préréglages rapides
    Lien vers l'outil
    Copié dans le presse-papiers.
    Aidez-nous à améliorer cet outil

    Lire le contenu

    Découvrez comment fonctionne cet outil et dans quelles circonstances l'utiliser.

    Cron Expression Generator & Explainer

    What a cron expression is

    A cron expression is a compact schedule made of five fields: minute, hour, day of month, month and day of week. A server reads those fields and runs a task when they match the current time. The format is powerful but easy to misread, especially around day-of-month and day-of-week rules. This page helps you build a schedule, explains it in plain English and shows the next run times.

    The five fields

    The fields run from left to right: minute (0–59), hour (0–23), day of month (1–31), month (1–12) and day of week (0–6 or SUN–SAT). An asterisk means every value. A number means that exact value. A comma lists several values. A hyphen gives a range. A slash gives a step, such as every five minutes. The page works with standard five-field cron, not Quartz six- or seven-field syntax.

    Using the schedule builder

    Choose a schedule type from the menu: every minute, every N minutes, hourly, every N hours, daily, twice daily, weekly, monthly, weekdays, weekends or a custom expression. Set the time, interval, weekday or day of month where the form asks for it. The builder writes the expression for you. You can also type a custom expression into the explainer and read the field-by-field breakdown.

    Common schedules

    `* * * * *` runs every minute. `*/15 * * * *` runs every fifteen minutes. `0 9 * * *` runs at 09:00 every day. `0 9 * * 1-5` runs at 09:00 Monday through Friday. `0 0 1 * *` runs at midnight on the first day of each month. `0 9,21 * * *` runs at 09:00 and 21:00. These examples assume the server's timezone, which the expression itself does not specify.

    Reading the plain-English explanation

    The explainer converts the expression into a sentence such as “At 09:00 AM, Monday through Friday.” It also breaks down each field and shows the next run times. The description is a convenience, not a guarantee. Complex expressions with both day-of-month and day-of-week restrictions can behave differently across cron implementations. Check the next-runs list and your server's documentation.

    Next run times

    The next-run panel uses a cron parser to list upcoming executions. You can request between 1 and 50 results; the default is 10. The list is useful for catching a timezone mistake or an impossible date such as 31 February. It is calculated from the current time, so reload or regenerate after changing the expression. The page does not know your server's timezone unless you interpret the times in that zone.

    Timezone and daylight saving

    A cron expression has no timezone field. The scheduler uses the server's configured timezone, which may be UTC, a local zone or a container default. Daylight-saving changes can make a task run twice, skip an hour or shift relative to local time. If exact local timing matters, confirm the server timezone and test around a DST boundary. For critical jobs, use a scheduler that exposes timezone settings explicitly.

    Presets and the builder

    The preset buttons fill in a known expression for convenience, but they may not update every builder control in the current page. Treat the expression panel as the source of truth. If you change a preset and then edit a time field, check the generated expression again before copying it. The page does not save schedules or deploy them to a server.

    Where cron is used

    Cron is common on Linux servers, in container images, in CI systems and in application schedulers. It can trigger backups, report generation, cache cleanup, email queues and sync jobs. The expression only describes when to run; it does not contain the command, the environment, the user or the retry policy. Those details live in the crontab or scheduler configuration.

    Limits and edge cases

    The tool supports standard five-field expressions. It does not support seconds, years, `@reboot`, `@daily` macros or vendor-specific extensions in the explainer. An expression can be syntactically valid but still never run, such as a date that does not exist in the selected month. The builder does not validate that the command is safe or that the job is idempotent. The page runs entirely in your browser.

    Common problems

    If the explanation looks wrong, check the field order and whether you used a six-field Quartz expression. If the next run is missing, the date may be impossible. If a job runs at the wrong local time, check the server timezone and DST. If a preset does not fill every field, edit the expression directly. If the page does not load, a CDN dependency may be blocked.

    What not to do

    Do not assume cron uses your laptop's timezone. Do not use `*` in every field for a job that should run once. Do not schedule overlapping long jobs without a lock. Do not put secrets directly in a crontab command. Do not rely on the English description alone for a complex schedule; verify the next runs and test the job. Do not use a five-field expression in a system that expects six fields.

    Testing a schedule before deployment

    Treat the generated expression as a draft. Add the job to a staging crontab or a scheduler test mode, set a short interval and confirm that it fires when expected. Log the start time, the end time and the exit code. Check what happens when the task runs longer than the interval, and add a lock if overlap would be harmful. The expression only says when to start; your job still needs error handling, retries and a way to alert someone when it fails.

    Frequently Asked Questions

    FAQ

    Des réponses succinctes aux questions que se posent les utilisateurs avant de se fier au résultat.

    They are minute, hour, day of month, month and day of week, in that order. An asterisk means every value. A number selects one value, a comma lists values, a hyphen gives a range and a slash gives a step.

    No. It explains standard five-field cron. A six- or seven-field Quartz expression uses a different field order and may include seconds or years. Use a tool that matches your scheduler.

    The expression has no timezone. The server or scheduler supplies it, often UTC or the container default. Check the host configuration and test around daylight-saving changes if local timing matters.

    Use `*/15 * * * *`. The slash means every fifteen units in the minute field. The hour, day, month and weekday fields remain unrestricted, so it runs at :00, :15, :30 and :45 every hour.

    The list is calculated from the page's current time and may use a different timezone from your server. It is a syntax check, not a deployment preview. Confirm the server timezone before relying on the schedule.

    Some cron implementations accept three-letter names, but support varies. The builder focuses on numeric fields. If your scheduler accepts names, test the expression there; do not assume every cron understands them.

    No. It only generates and explains the expression in your browser. You still need to add the command to the crontab or scheduler, set the correct user and environment, and test the job.

    Commentaires (0)

    Pour les discussions entre utilisateurs, les cas particuliers et les conseils complémentaires.
    Laisser un commentaire
    Votre commentaire sera visible par tous après sa publication.
    Aucun commentaire pour l'instant. Soyez le premier à laisser un commentaire !
    Faites-le-nous savoir !
    Signaler un problème avec cet outil

    Décrivez le problème que vous avez rencontré afin que nous puissions l'examiner et améliorer l'outil.

    Ce qui aide le plus
    Veuillez indiquer la saisie effectuée, le résultat attendu, le résultat obtenu, le navigateur ou l'appareil utilisé, ainsi qu'une capture d'écran si cela peut être utile.
    Le bouton « Capture d'écran » permet de capturer la page affichée dans le navigateur et d'ajouter l'image générée à ce formulaire.
    Capture d'écran en pleine page
    Capturé dans votre navigateur avec newisty.
    Aucune capture d'écran n'a encore été réalisée.
    Outil Rapport