Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 very strange problem. I've placed a script into /etc/cron.daily on my Ubuntu 12.04 server, gave it the appropriate permissions (0755), and assumed it would run correctly. I guess that was too much of an assumption.

The script name is as follows:

-rwxr-xr-x  1 root root   801 Sep 16 16:24

When I run run-parts --test /etc/cron.daily it actually doesn't show up in the list:


Am I on drugs, or is there something else that needs to be done to get this script to run?

share|improve this question
up vote 2 down vote accepted

man run-parts

The filenames must follow some rules. Remove the ".sh" and it will be ok.

share|improve this answer
Ugh....small, simple things as always. Thank you! – Scott Crooks Sep 17 '12 at 10:23

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.