Date: Tue, 19 Mar 2002 15:40:47 -0600 From: Mike Meyer <mwm-dated-1017006050.706b53@mired.org> To: "Lee Mark Mercado" <mercadolee@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily Message-ID: <15511.45151.32876.505187@guru.mired.org> In-Reply-To: <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com> References: <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com>, Lee Mark Mercado <mercadolee@hotmail.com> typed: > it doesnt seem to be working for me :( > > i have this on my /usr/local/etc/periodic/daily/666.cvsup-ports > --------------------------------------------- > #!/bin/sh > > /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile > echo "Ports had been updated" | mail lee > --------------------------------------------- > > but running it manually works fine : sh 666.cvsup-ports That's not how it's run by periodic. The file needs to be executable, so you can just do ./666.cvsup-ports. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15511.45151.32876.505187>