2122 shaares
901 private links
901 private links
Best practices for cron
Version control
Keep it organized
Always test
Use scripts
Use aliases
Forward emails
Document everything
Avoid root
Chain things together
Avoid redirects to /dev/null
Don’t rely on email
Avoid passwords
Use full paths
Conditionally run
Use /etc/cron.* when appropriate
Efficiency rarely matters
When in doubt, run more often