From owner-freebsd-questions@FreeBSD.ORG Wed Jul 26 09:31:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE1E816A4DE for ; Wed, 26 Jul 2006 09:31:02 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6817143D58 for ; Wed, 26 Jul 2006 09:31:01 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 286D92E024; Wed, 26 Jul 2006 11:31:00 +0200 (CEST) Message-ID: <44C73652.5030503@locolomo.org> Date: Wed, 26 Jul 2006 11:30:58 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: nicky@valuecare.nl References: <1153897405.691.10.camel@nlp> In-Reply-To: <1153897405.691.10.camel@nlp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Current Cron Log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 09:31:02 -0000 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