strange cron ????
Kirtis Bakalarczyk
kirtis.bakalarczyk at gmail.com
Mon Sep 12 04:35:35 UTC 2005
On 9/11/05, ashley maher <ashley.maher at didymodesigns.com.au> wrote:
> I've ported an application from another linux distro to Ubuntu.
>
> I have some "housekeeping" perl scripts that I normally just drop
> into /etc/cron.daily to be run every 24 hours (I don't care when just so
> long as they are run every 24 hours)
>
Cron scripts in that directory are run by run-parts, there are some
naming conventions that need to be followed in order for them to run.
See man run-parts for the format. I usually put my scripts in
/usr/local/scripts and link to them in /etc/cron.whatever with the
correct naming scheme.
HTH,
KIRT
> It is now obviouse these scripts are not being run at all.
>
> Looking at the logs cron daily is being run.
>
> The scrips owners and permissions match other scripts
> in /etc/cron.daily.
>
> They are perl rather than bash (the only difference I can see).
>
> It appears other scripts in the directory are being run.
>
> If I:
>
>
> sudo /etc/cron.daily/repair_web.pl
>
> then the scripts run perfectly (so it is not some inconsistency there).
>
> I have run out of ideas to test. Any, and I do mean any, suggestions
> great fully received.
>
> Regards,
>
> Ashley
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
pub 1024D/742050ED 2005-06-04
Key fingerprint = 94BB 9D18 28A6 6267 8299 3EC9 4696 0626 7420 50ED
:wq
More information about the ubuntu-users
mailing list