π ~1 min read
Table of contents
Symptom & Impact
Scheduled root maintenance tasks stop executing, causing backups, cleanup jobs, and health checks to be skipped.
Environment & Reproduction
After host migration, crontab entries exist but expected output files and script actions no longer appear.
Root Cause Analysis
Incorrect crontab permissions, DOS line endings, missing PATH, or disabled cron service are common migration side effects.
Quick Triage
Check service cron onestatus, inspect /var/log/cron, and validate root crontab syntax with crontab -l.
Step-by-Step Diagnosis
Verify environment variables and shell assumptions used by scripts launched from cron context. image_ref=0

Solution – Primary Fix
Normalize line endings, set explicit PATH and shell in crontab, then restart cron service. image_ref=1
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Move critical automation to periodic scripts under /etc/periodic for standardized execution behavior.
Verification & Acceptance Criteria
Jobs execute on schedule, expected logs are generated, and non-zero exit statuses are alerted appropriately.
Rollback Plan
Restore previous crontab snapshot and script versions if recent edits introduce further execution failures.
Prevention & Hardening
Add cron canary jobs, monitor last-run timestamps, and enforce script lint checks before deployment.
Related Errors & Cross-Refs
Associated issues include missing mailx notifications, permission denied script errors, and stale lock files.
Related tutorial: View the step-by-step tutorial for freebsd-12.
View all freebsd-12 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Consult man crontab, man cron, and FreeBSD periodic task framework documentation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.