Crontab Error: errors in crontab file, can’t install (bad minute)
Invalid 5-field cron schedule syntax or missing trailing newline in crontab.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Crontab Error
Platform: Linux
Common Root Causes:
- Invalid 5-field cron schedule syntax or missing trailing newline in crontab.
Interactive Diagnostic Checklist
Verified Solutions:
- Verify 5 space-separated time fields (min hour dom mon dow) and end file with a newline.
Safe Diagnostic Command:
crontab -l
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Invalid 5-field cron schedule syntax or missing trailing newline in crontab. Recommended diagnostic: `crontab -l`. Remediation: Verify 5 space-separated time fields (min hour dom mon dow) and end file with a newline.
Worked Examples
- Run `crontab -l` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-linux-crontab-bad-minute · Independently verified: 2026-11-25