Yesterday, this site went down for about four hours. Complaints started rolling in from my millions of ardent followers, spurring me into action. Join me as I deconstruct what went wrong, how I fixed it, and how I tried to prevent the problem from occurring again.
I erased all of my cronjobs by accident due to a simple typo.
When working with cron jobs, the command
crontab -e is used to edit your
crontab. This command is one letter off from
crontab -r, which erases your
cron jobs without any confirmation prompt. On a QWERTY keyboard,
r keys are adjacent, which makes it especially easy to type the
wrong one by accident. I accidentally typed the wrong thing, and
*poof*, my cronjobs disappeared.