Re: Cron output logging

2004-04-14 Thread Dave Sherohman
On Wed, Apr 14, 2004 at 05:36:20PM +0100, Richard Kimber wrote: > I've been away, but just before I went I guessed a solution. In > /etc/logcheck/ignore.d.workstation there is a series of files with names > of programs containing not very informative contents. I guessed these > might be expressio

Re: Cron output logging

2004-04-14 Thread Richard Kimber
On Mon, 12 Apr 2004 10:02:24 -0500 Dave Sherohman <[EMAIL PROTECTED]> wrote: > On Thu, Apr 08, 2004 at 07:11:39PM +0100, Richard Kimber wrote: > > I don't think it's coming directly from the *output* of the script. > > It seems to me that the script is doing something that now gets > > logged tha

Re: Cron output logging

2004-04-12 Thread Dave Sherohman
On Thu, Apr 08, 2004 at 07:11:39PM +0100, Richard Kimber wrote: > I don't think it's coming directly from the *output* of the script. It > seems to me that the script is doing something that now gets logged that > used not to be logged. I think it must have to do with the > configuration of logch

Re: Cron output logging

2004-04-08 Thread Richard Kimber
On Wed, 7 Apr 2004 17:12:10 -0600 "s. keeling" <[EMAIL PROTECTED]> wrote: > > The logging is emailed to me along with other stuff, like leafnode > > activity, and other cron activity. I assume it's organised by > > logcheck. > > It's a custom script that checks some file permissions on files I

Re: Cron output logging

2004-04-07 Thread s. keeling
Incoming from Richard Kimber: > On Wed, 7 Apr 2004 09:50:36 -0400 (EDT) > "Bojan Baros" <[EMAIL PROTECTED]> wrote: > > > >> /script.sh > /dev/null 2>&1 > > > Non of these options seem to work. > > > > Ok, let's try something different... Where do you see this logging? > > syslog? message? scree

Re: Cron output logging

2004-04-07 Thread Richard Kimber
On Wed, 7 Apr 2004 09:50:36 -0400 (EDT) "Bojan Baros" <[EMAIL PROTECTED]> wrote: > >> /script.sh > /dev/null 2>&1 > > Non of these options seem to work. > > Ok, let's try something different... Where do you see this logging? > syslog? message? screen? Also, what script is it, is it part of > re

Re: Cron output logging

2004-04-07 Thread Bojan Baros
> On Tue, 6 Apr 2004 12:37:08 +0100 > Dave Thorn <[EMAIL PROTECTED]> wrote: > >> > On Mon, 5 Apr 2004 21:12:27 +0100 >> > [EMAIL PROTECTED] wrote: >> > > On Mon, 5 Apr 2004 21:09:53 +0100 >> > > Richard Kimber <[EMAIL PROTECTED]> wrote: >> > > > > Maybe: >> > > > > /path/to/script.sh 1>/dev/null >>

Re: Cron output logging

2004-04-07 Thread Richard Kimber
On Tue, 6 Apr 2004 12:37:08 +0100 Dave Thorn <[EMAIL PROTECTED]> wrote: > > On Mon, 5 Apr 2004 21:12:27 +0100 > > [EMAIL PROTECTED] wrote: > > > On Mon, 5 Apr 2004 21:09:53 +0100 > > > Richard Kimber <[EMAIL PROTECTED]> wrote: > > > > > Maybe: > > > > > /path/to/script.sh 1>/dev/null > > > > Thank

Re: Cron output logging

2004-04-06 Thread Roberto Sanchez
Richard Kimber wrote: On Mon, 5 Apr 2004 21:12:27 +0100 [EMAIL PROTECTED] wrote: On Mon, 5 Apr 2004 21:09:53 +0100 Richard Kimber <[EMAIL PROTECTED]> wrote: Maybe: /path/to/script.sh 1>/dev/null Thanks, but that doesn't do it. /script.sh 2>/dev/null 1>/dev/null Nor does that I'm afraid - Richar

Re: Cron output logging

2004-04-06 Thread Dave Thorn
Maybe On Tue, Apr 06, 2004 at 11:02:52AM +0100, Richard Kimber wrote: > On Mon, 5 Apr 2004 21:12:27 +0100 > [EMAIL PROTECTED] wrote: > > On Mon, 5 Apr 2004 21:09:53 +0100 > > Richard Kimber <[EMAIL PROTECTED]> wrote: > > > > Maybe: > > > > /path/to/script.sh 1>/dev/null > > > Thanks, but that does

Re: Cron output logging

2004-04-06 Thread Richard Kimber
On Mon, 5 Apr 2004 21:12:27 +0100 [EMAIL PROTECTED] wrote: > On Mon, 5 Apr 2004 21:09:53 +0100 > Richard Kimber <[EMAIL PROTECTED]> wrote: > > > > Maybe: > > > /path/to/script.sh 1>/dev/null > > > > Thanks, but that doesn't do it. > > /script.sh 2>/dev/null 1>/dev/null Nor does that I'm afraid

Re: Cron output logging

2004-04-05 Thread ed
On Mon, 5 Apr 2004 21:09:53 +0100 Richard Kimber <[EMAIL PROTECTED]> wrote: > > Maybe: > > /path/to/script.sh 1>/dev/null > > Thanks, but that doesn't do it. /script.sh 2>/dev/null 1>/dev/null -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EM

Re: Cron output logging

2004-04-05 Thread Richard Kimber
On Mon, 5 Apr 2004 14:23:37 -0400 (EDT) "Bojan Baros" <[EMAIL PROTECTED]> wrote: > > How do I stop the logging of the actions of one script in cron.daily > > but > > not all the others? > > > > Thanks, > > - Richard > > Maybe: > /path/to/script.sh 1>/dev/null Thanks, but that doesn't do it. --

Re: Cron output logging

2004-04-05 Thread Bojan Baros
> A recent upgrade to my testing system has caused stuff to be logged > that > was not logged before (I think this is pretty poor practice, but > that's > another question). > > How do I stop the logging of the actions of one script in cron.daily > but > not all the others? > > Thanks, > - Richard

Cron output logging

2004-04-05 Thread Richard Kimber
A recent upgrade to my testing system has caused stuff to be logged that was not logged before (I think this is pretty poor practice, but that's another question). How do I stop the logging of the actions of one script in cron.daily but not all the others? Thanks, - Richard -- Richard Kimber htt