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

On my linux box I have the typical /etc/cron.hourly directory with scripts. I created one with the following simple code to run a ruby script:


ruby /home/eltony/data_warehouse_scripts/import.rb

While I can look at /var/log/cron.log and verify the hourly cron is running, the script never executes. I'm not sure exactly why, but I am sure that when I type that command into my CLI and hit enter, the script runs and does what it should.

I'm not really sure how to debug this issue so any help would be great. The permissions seem fine because they are the same as all of the scripts in cron.hourly and cron.monthly:

-rwxr-xr-x   1 root root    65 Jun  3 12:53 le_warehouse_sync
-rwxr-xr-x   1 root root   268 Nov  9  2009 mcelog.cron


share|improve this question
up vote 2 down vote accepted

Check the email of the user the output gets sent to (root by default).

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.