run-parts not reading all possible scripts
Hi All,
I've got a couple of weird occurances I'd like some suggestions on. I'm adding some scripts for daily backups into /etc/cron.daily. On our older testing box, run-parts would follow sym-links so all I had to do was link the file into cron.daily and it ran fine. On the new box (stable with testing pinned) it wouldn't follow the symlink so I decided to just check it out directly from svn into the cron.daily directory. So now I have the actual script in the cron.daily directory. I do a run-parts --test and the files don't show up... I checked the versions on the run-parts between the older box and the newer box and they are as follows: Older: Debian run-parts program, version 2.13.2 Copyright (C) 1994 Ian Jackson, Copyright (C) 1996 Jeff Noxon. Copyright (C) 1996,1997,1998,1999 Guy Maor Copyright (C) 2002, 2003, 2004, 2005 Clint Adams This is free software; see the GNU General Public License version 2 or later for copying conditions. There is NO warranty. Newer: Debian run-parts program, version 2.15.2 Copyright (C) 1994 Ian Jackson, Copyright (C) 1996 Jeff Noxon. Copyright (C) 1996,1997,1998,1999 Guy Maor Copyright (C) 2002, 2003, 2004, 2005 Clint Adams This is free software; see the GNU General Public License version 2 or later for copying conditions. There is NO warranty. The /etc/cron.daily directory on the new box ls' like this: Code:
total 64K Code:
# run-parts --test /etc/cron.daily Suggestions and pointers greatly appreciated. |
the only common thing I can see that tyhr misssing ones are postfixed with .sh ... it shouldnt matter, but what if you remove the extension? Might work..
|
Quote:
Damn! Thanks for the other set of eyes on that Artanicus! :) |
no problem.. Very odd a problem indeed.. I have no idea why it doesn't like the .sh extension.. Maybe theyre trying to prevent running scripts tho I cant see why they would do that..
|
I think this explains alot:
Quote:
|
Quote:
{Yes I used to work with a lot of Finns mainly from Helsinki and Turku (Masa Yards) and I even worked with some up in your area when I used to be with the larger Kvaerner Group... Must be damn cold there now...} wbrgs, MichaelE |
Quote:
hehe.. Yeah, it is.. Havn't been out in nearly a week cause its so damn cold.. Alot nicer inside with mi laptop.. (: A happy new year to you too.. (: |
All times are GMT -5. The time now is 10:49 PM. |