From owner-freebsd-questions Wed Oct 3 9: 2:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id 361ED37B401 for ; Wed, 3 Oct 2001 09:02:11 -0700 (PDT) Received: by q.closedsrc.org (Postfix, from userid 1003) id 0F99655415; Wed, 3 Oct 2001 09:02:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id 01A7451616; Wed, 3 Oct 2001 09:02:10 -0700 (PDT) Date: Wed, 3 Oct 2001 09:02:09 -0700 (PDT) From: Linh Pham To: Ernst de Haan Cc: Subject: Re: Automatically cvsupdating? In-Reply-To: <200110011017.f91AHRE02734@zaphod.euronet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001-10-01, Ernst de Haan scribbled: # If I would like to run cvsup every night or so, and have the output sent to a # certain email address, how would I do that? Should I just install a script in # /usr/local/share/etc/rc.d/ or is there a better way of doing this? You can use crontab to schedule jobs to run every night, every week, etc. You can find out more in the man pages: man crontab and main 5 crontab. A crude example of a script that you can write to do a cvsup and send the output to an e-mail address would be: #!/bin/sh # cvsup -L 1 -g /path/to/supfile | mail email@address.com You could also stick that command within the crontab file as well. -- Linh Pham [lplist@closedsrc.org] // 404b - Brain not found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message