Well, I have just made a little discovery: under recent distros (I’m using Ubuntu 9.10) the cron stuff is changed.

If you label your script with a name containing a dot, the cron job is not executed. (!!!)

Until now, I used to label my scripts like script.sh but now this is evil 🙂

This behaviour is due to run-parts (a program that runs all the executable files  found in a directory).

From the run-parts manual: “If  neither  the  –lsbsysinit  option  nor the –regex option is given then the names must consist entirely of upper and lower case letters, digits,        underscores, and hyphens.”.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *