Date: Mon, 2 Oct 2006 18:28:09 -0700 From: "Atom Powers" <atom.powers@gmail.com> To: "jan gestre" <freebsd.ph@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: scripting question Message-ID: <df9ac37c0610021828i61aa2714n2219b619fbcbfec8@mail.gmail.com> In-Reply-To: <a25afc300610021749h500dc4acv4c9b958859cda7cc@mail.gmail.com> References: <a25afc300610021749h500dc4acv4c9b958859cda7cc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/2/06, jan gestre <freebsd.ph@gmail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df9ac37c0610021828i61aa2714n2219b619fbcbfec8>