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 have a script that is supposed to run hourly. It was working fine for a while and then it seemed to stop working after some system updates were applied. At that point it stopped working and presented the error below in /tmp/greatscript.log

/bin/sh: /home/administrator/ not found

Here is the crontab. Really basic, it should work no problem.

2 * * * * /home/administrator/ >/tmp/greatscript.log 2>&1

Here's where it gets really weird, I just realized that if administrator is logged in, the cron fires and the script works great. But if administrator is logged out:

/bin/sh: /home/administrator/ not found

share|improve this question
Did you install ubuntu with an encrypted home directory? What is the output of the mount command when administrator is logged in. – becomingwisest Jan 12 '13 at 21:23
The home directory is encrypted! – Cronfused Jan 12 '13 at 22:25

Move the script to some unencrypted location like /usr/local/bin/.

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.