Tâche Cron Une heure sur deux
0 */2 * * *
minute
heure
jour (mois)
mois
jour (sem.)
0 minutes après l'heure, toutes les 2 heures
Détail des champs
| Champ | Valeur | Signification |
|---|---|---|
| minute | 0 | at minute 0 |
| heure | */2 | every 2 hours |
| jour (mois) | * | any value |
| mois | * | any value |
| jour (sem.) | * | any value |
Ligne crontab
0 */2 * * * /path/to/script.shThe expression 0 */2 * * * schedules a cron job to run une heure sur deux. This schedule belongs to the "Heure" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.