Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'MAKE SURE YOU...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: Xeo on Oct 28, '01 11:44:20PM

If you cp /etc/crontab and use that as your base crontab, make sure you don't keep the user specification. I changed "root" to my user and spent hours trying to figure out why my crontab wouldn't work. It was trying to run my username as a command!

On user specific crontabs, do not specify a user to run the command as. The crontab located at /etc/crontab is the system-wide crontab. Root is specified in each so those commands are run as root. The user, root, doesn't have a crontab at all!!

This gave me a headache for a while, but I'm glad I understand it now.

[ Reply to This | # ]
Authored by: fullstop102 on Feb 11, '05 11:38:02AM

Thankyou so much for that.. Just my first time at setting up a cron for an rsync and taken me two hours of searching to find out why nothing was happening... You are a genious!


[ Reply to This | # ]