Skip to content

Crontab Validator

Validateur et interpreteur d'expressions cron avec previsualisation des executions.

Expression Cron

0-59
0-23
1-31
1-12
0-7

Presets

Interpretation

Expression valide
A 09:00, du lundi au vendredi

Prochaines executions

Reference syntaxe

Caracteres speciaux

*Toutes les valeurs
,Liste (1,3,5)
-Plage (1-5)
/Step (*/15)

Jours de la semaine

0 ou 7Dimanche
1Lundi
2Mardi
3Mercredi
4Jeudi
5Vendredi
6Samedi

Mois

1Janvier7Juillet
2Fevrier8Aout
3Mars9Septembre
4Avril10Octobre
5Mai11Novembre
6Juin12Decembre

Extensions (non-standard)

@yearly0 0 1 1 *
@monthly0 0 1 * *
@weekly0 0 * * 0
@daily0 0 * * *
@hourly0 * * * *
@rebootAu demarrage

Commandes crontab

📋 Voir crontab

crontab -l
crontab -l -u username

✏️ Editer crontab

crontab -e
EDITOR=nano crontab -e

🗑️ Supprimer crontab

crontab -r
crontab -r -u username

📁 Fichiers systeme

/etc/crontab
/etc/cron.d/
/etc/cron.{hourly,daily,weekly,monthly}/

Exemples courants

0 2 * * *
Backup quotidien a 2h
*/5 * * * *
Health check toutes les 5min
0 0 * * 0
Rapport hebdo dimanche
0 9,18 * * 1-5
9h et 18h en semaine
0 0 1 1 *
1er janvier a minuit
30 4 1,15 * *
4h30 le 1er et 15 du mois

Format crontab

┌───────────── minute (0 - 59)
│ ┌───────────── heure (0 - 23)
│ │ ┌───────────── jour du mois (1 - 31)
│ │ │ ┌───────────── mois (1 - 12)
│ │ │ │ ┌───────────── jour de la semaine (0 - 7)
│ │ │ │ │
* * * * * commande