Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 11:30:58 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        nicky@valuecare.nl
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Current Cron Log
Message-ID:  <44C73652.5030503@locolomo.org>
In-Reply-To: <1153897405.691.10.camel@nlp>
References:  <1153897405.691.10.camel@nlp>

next in thread | previous in thread | raw e-mail | index | archive | help
Nicky wrote:
> Hello, 
> 
> I have a script that is started through cron. This script contains
> several steps, each step writes information to stdout, in case of errors
> to stderr. 
> The total script runs for about 6 hours and then the the combined output
> of all steps is mailed to root.
> 
> However, is there a way to 'examine/monitor' the scripts progress.
> Perhaps cron keeps a temporary/current logfile of my scripts output,
> which i can look at?

check /usr/sbin/periodic, it's a shell script. Also, it seems to be 
possible to send output to a file instead or also, see periodic.conf(5)

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C73652.5030503>