Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added the following using "crontab -e":

* 6 * * *  rsync -arthv /content/  > /tmp/db_rsync.log 2>&1

when I do crontab -l I see the line.

am I missing something? It's not running. It does run manually.

share|improve this question

The PATH for cron is unlikely to be the same as the one you use interactively. Try changing rsync to /usr/bin/rsync.

share|improve this answer

or you can specify the path in crontab as


* 6 * * *  rsync -arthv /content/  > /tmp/db_rsync.log 2>&1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.