From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <643ce3118f52220872a88bca2521da14@tombob.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] two questions: starting fgui? and emailing fossil vac scores? From: plan9@blueyonder.co.uk In-Reply-To: <89168f6f7eed1854fbbb00e8ad2fb6a4@plan9.ucalgary.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ahtbkjxixepxrsbqhzwesvqzdj" Date: Wed, 7 Jan 2004 10:20:18 +0000 Topicbox-Message-UUID: b3c404b8-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ahtbkjxixepxrsbqhzwesvqzdj Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, ahh, finally read the consolefs(4) man page all the way to the end. I thought I would need to set up a consoledb in order to use clog, and that had scared me off. Your suggestion works a treat, thank you very much. I now send myself an email with the result of yesterday -d /sys/log/fossil, hopefully leaving enough time between the snap -a and the cron job. Robby --upas-ahtbkjxixepxrsbqhzwesvqzdj Content-Type: message/rfc822 Content-Disposition: inline Received: from smtp-in4.blueyonder.co.uk ([172.23.146.15]) by cluster1 with Microsoft SMTPSVC(5.0.2195.5329); Mon, 5 Jan 2004 16:03:48 +0000 Received: from exim14.blueyonder.co.uk ([195.188.213.49]) by smtp-in4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Mon, 5 Jan 2004 16:03:48 +0000 Received: from [130.203.4.6] (helo=mail.cse.psu.edu) by exim14.blueyonder.co.uk with esmtp (Exim 4.14) id 1AdXCW-0000Gt-8R for plan9@blueyonder.co.uk; Mon, 05 Jan 2004 16:03:32 +0000 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 5F14B19AEE; Mon, 5 Jan 2004 11:03:29 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D987F19C03; Mon, 5 Jan 2004 11:03:08 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id D442619B6E; Mon, 5 Jan 2004 11:02:52 -0500 (EST) Received: from octarine.ucalgary.ca (unknown [136.159.220.105]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1723219AEE for <9fans@cse.psu.edu>; Mon, 5 Jan 2004 11:02:41 -0500 (EST) Message-ID: <89168f6f7eed1854fbbb00e8ad2fb6a4@plan9.ucalgary.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] two questions: starting fgui? and emailing fossil vac scores? From: mirtchov@cpsc.ucalgary.ca In-Reply-To: <72cc36dbcd7e42d020eb0ea671da328a@tombob.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 5 Jan 2004 09:02:40 -0700 X-Spam-Status: No, hits=-0.2 required=5.0 tests=IN_REP_TO,NO_REAL_NAME,QUOTED_EMAIL_TEXT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Sent-To: plan9@blueyonder.co.uk Return-Path: 9fans-admin@cse.psu.edu X-OriginalArrivalTime: 05 Jan 2004 16:03:48.0653 (UTC) FILETIME=[81292DD0:01C3D3A5] > My second question is about something I've read on the list a couple > of times. How do I set up automatic emailing of the vac scores > generated by the archival snapshot in fossil? As in, a handy script I > can cron or some such. serve up a new console (fossil's srv -p command) and drain it with clog to a file somewhere in /sys/log (if you don't think you need to hide it from people). then a cron job to mail you the score every day is trivial. in my case fossil's configuration file has (among other things): srv -p fscmd and cpurc for the file server has: aux/clog /srv/fscmd /sys/log/fossil & andrey --upas-ahtbkjxixepxrsbqhzwesvqzdj--