Date: Wed, 3 Oct 2001 09:02:09 -0700 (PDT) From: Linh Pham <lplist@closedsrc.org> To: Ernst de Haan <ernsth@nl.euro.net> Cc: <questions@freebsd.org> Subject: Re: Automatically cvsupdating? Message-ID: <Pine.BSF.4.33.0110030859090.50232-100000@q.closedsrc.org> In-Reply-To: <200110011017.f91AHRE02734@zaphod.euronet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0110030859090.50232-100000>