View, edit, or manage per-user cron schedules for recurring jobs.
medium risk
crontab manages scheduled jobs. The five time fields are: minute (0-59), hour (0-23), day (1-31), month (1-12), weekday (0-7). `*` means any, `,` for lists, `-` for ranges, `/` for intervals. Always use full paths in cron commands.
| Flag | Meaning |
|---|---|
-e | Edit current user's crontab in $EDITOR |
-l | List current crontab |
-r | Remove current user's crontab entirely |
-u | Specify another user (root only) |
crontab -lView current cron schedule · explain & risk-check →0 */6 * * * /usr/local/bin/health_check.shRun health check every 6 hours · explain & risk-check →30 23 * * 5 /opt/scripts/weekly-report.sh >> /var/log/reports.log 2>&1Weekly report every Friday at 11:30 PM with full logging · explain & risk-check →Use https://crontab.guru to visually verify cron expressions before deploying them.
Reference text is hand-written and may be incomplete — check man crontab for your version. Test destructive commands on a non-production system first.