Today’s basic crontab info…

Wicked simple issue – took a line from /etc/crontab and put in to the root’s crontab (crontab -u root -e) and it was no longer running. ¬†Getting this error:

/bin/sh: root: command not found

Simple fix – needed to remove the ‘root’ from the line that I’d moved from one file to the other, as the root’s crontab did not need the ‘root’ user mentioned.

A good blog post with some cron/crontab basics: