G'day folks.  Happy New Year.

I am hoping someone is still out there that might be able to give me a
clue on an interesting problem.  

I have these scripts in my cron.daily directory:

-rwxr-xr-x    1 root     root         3552 Jan 13 10:36 multicron-d
-rwxr-xr-x    1 root     root          169 Jul  7  2002 savelog-sh-httpd
-rwxr-xr-x    1 root     root          242 Jan 17  2004 tinyproxy
-rwxr-xr-x    1 root     root          237 Jan 14  2003 ulogd

My crontab file looks like:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs
do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
00 5    * * *   root    run-parts --report /etc/cron.daily
47 6    * * 7   root    run-parts --report /etc/cron.weekly
52 6    1 * *   root    run-parts --report /etc/cron.monthly

If I execute this command:

run-parts --report /etc/cron.daily

my logs all rotate nicely, but when the command is run by cron, the
ulogd script doesn't appear to work.  The shorewall log doesn't rotate
but tinyproxy does.

Any ideas?

Thanks.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to