't Bijstere spoor

't Bijstere spoor

A blog about Web development

cron.daily scripts won't run

I just found the solution for my problem that some of the scripts in /etc/cron.daily would never run, and I thought i'd share it..

This might be really obvious for some of you, but I thought if I blog this with a clear title it might be of help for some other people as well. I had problems googling this myself, so here is my solution:

Apparently those scripts are not allowed to have extensions such as .sh or .php.. when this is the case the scripts will simply be ignored..


Comments

Sebastian
Sebastian said on Saturday, 7 October 2006 at 8:30 am CEST

Works like a charm here. Must be something else (are your files executable?)

epaulin
epaulin said on Saturday, 7 October 2006 at 1:42 pm CEST

It seems you running on Debian,
#man run-parts

It's a old dpkg bug.

Evert
Evert said on Monday, 9 October 2006 at 5:48 am CEST

Yep, I am running debian..

(yes, my files were executable)

After updating that box the problem persists though..

Martin
Martin said on Thursday, 17 April 2008 at 6:35 am CEST

Thank you SO much, this quick fix made the script I spent hours picking over work.







Solve this simple math problem to prevent bots from spamming this blog:
6 + 7 =