Date: Tue, 19 Mar 2002 09:04:00 -0800 From: "Lee Mark Mercado" <mercadolee@hotmail.com> To: mwm@mired.org, freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily Message-ID: <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com>
next in thread | raw e-mail | index | archive | help
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 so i assume my cron/periodic is not reading that directory. any idea of whats wrong ? i will greatly appreciate any help. thx. -Lee ----Original Message Follows---- From: Mike Meyer <mwm-dated-1016962272.5a5419@mired.org> To: "Lee Mark Mercado" <mercadolee@hotmail.com> CC: freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily Date: Tue, 19 Mar 2002 03:31:12 -0600 In <F141d1eQXOFZgu3Ubor00014d8b@hotmail.com>, Lee Mark Mercado <mercadolee@hotmail.com> typed: > i have this file to run every night, so i put it in > /usr/local/etc/periodic/daily ... isnt it that the cron should run it also > the way it runs /etc/periodic/daily files ? Yes. Make sure the file name has the proper format of a 3-digit number, dot, then the name and that it's executable. > the file is csvupfile that updates the ports collection. Also, how will i > know if the cron did run the file and updated the ports collection ? By what it outputs. Unless you redirect it, the output will show up in the output of the daily periodic run. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx 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?F151hbmfowJZjvkwVmT0001cbb9>