Skip site navigation (1)Skip section navigation (2)
Date:      19 Mar 2002 12:23:52 -0500
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: daily routine in /usr/local/etc/periodic/daily
Message-ID:  <44n0x4qxnb.fsf@be-well.ilk.org>
In-Reply-To: <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com>
References:  <F151hbmfowJZjvkwVmT0001cbb9@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Lee Mark Mercado" <mercadolee@hotmail.com> writes:

> 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 ?

Add a '.sh' on to the end of the file name.  
[and make sure its executable bit is set]

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?44n0x4qxnb.fsf>