Current Cron Log

Erik Norgaard norgaard at locolomo.org
Wed Jul 26 09:31:02 UTC 2006


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


More information about the freebsd-questions mailing list