Date: Wed, 31 Aug 2005 08:54:31 -0500 From: Kevin Kinsey <kdk@daleco.biz> To: martin hudec <corwin@aeternal.net> Cc: freebsd-questions@freebsd.org Subject: Re: portsnap and updates using cron Message-ID: <4315B697.5010001@daleco.biz> In-Reply-To: <20050831112105.GA39126@amber.aeternal.net> References: <20050831112105.GA39126@amber.aeternal.net>
next in thread | previous in thread | raw e-mail | index | archive | help
martin hudec wrote: >Hello, > > > I am using portsnap to update my ports tree like following: > > 1. Calling portsnap cron from root's cron > 2. Updating ports tree using portsnap -I update from root's cron > > But it does not update anything by portsnap cron. In > /usr/local/etc/portsnap.conf I have: > > WORKDIR=/usr/local/portsnap > PORTSDIR=/usr/ports > > Files in WORKDIR are dated to Aug 25. So I assume calling portsnap > cron results in failure (both with -f /usr/local/etc/portsnap.conf or > without it). > > Can anyone advise me on this one please? > > Not sure. Check the logs, etc. If you're familiar with ktrace, kdump, etc., you could follow the program's progress if you find no log information. How are you calling the program from cron(8)? I'm sure that you are aware of cron's limited environment; one result of this is that you generally need to supply full pathnames to any command you want cron(8) to run for you. Is cron sending you any mail about this job? Grasping at straws, Kevin Kinsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4315B697.5010001>