From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 01:28:13 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 7558116A403 for ; Tue, 3 Oct 2006 01:28:13 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id D255143D45 for ; Tue, 3 Oct 2006 01:28:12 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so31706nfc for ; Mon, 02 Oct 2006 18:28:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TXiuK9Trz0C0kVOH4zaDNuW5sAEjsK6vtdZbmy8bjEKpdObTSTSPwfXjxqgfg4ZPPwu0hXijtgUX1ty2Pzrvr9nK+GjJvWV7r/Sq9m7Wn7//myQiPFRAUrihu2oup5Xk+yM53nELGmt52fiigXeIicsqXyWlYw4tGBNPaE7gRR8= Received: by 10.49.20.5 with SMTP id x5mr161910nfi; Mon, 02 Oct 2006 18:28:09 -0700 (PDT) Received: by 10.49.63.18 with HTTP; Mon, 2 Oct 2006 18:28:09 -0700 (PDT) Message-ID: Date: Mon, 2 Oct 2006 18:28:09 -0700 From: "Atom Powers" To: "jan gestre" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: "freebsd-questions@freebsd.org" Subject: Re: scripting question 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: Tue, 03 Oct 2006 01:28:13 -0000 On 10/2/06, jan gestre wrote: > i made a script and put on root's crontab, however it's not doing or showing > the output that is forwarded to my email address correctly therefore i'm not > sure if it is working or not. below is what the script look like: > ... > > 30 8 * * * root /usr/local/bin/cvsrun | mail -s "Daily cvsup run and > portmanager" user1 > Why don't you make this a periodic script. Put it in '/usr/local/etc/periodic/weekly/299.cvrun' and it will be run every week with the rest of your periodic; with periodic you get much better control over where output is sent. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--