Re: Trying to "make index" in a crontab job

2008-09-11 Thread Ion-Mihai Tetcu
On Thu, 11 Sep 2008 11:42:11 +1000 John Marshall <[EMAIL PROTECTED]> wrote: > On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote: > > Is there a preferred way to update the > > ports source tree and create the index through crontab? > > If your system is configured to use csup (or cvsup) to

Re: Trying to "make index" in a crontab job

2008-09-11 Thread Morgan Wesström
John Marshall wrote: On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote: # which pkg_info /usr/sbin/pkg_info When I try to use crontab to "make index" in /usr/ports I end up with this: Generating INDEX-7 - please wait..pkg_info: not found See crontab(5). cron(8) doesn't give you /usr/sbi

Re: Trying to "make index" in a crontab job

2008-09-10 Thread John Marshall
On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote: > > # which pkg_info > /usr/sbin/pkg_info > > When I try to use crontab to "make index" in /usr/ports I end up with this: > Generating INDEX-7 - please wait..pkg_info: not found See crontab(5). cron(8) doesn't give you /usr/sbin in PATH by

Re: Trying to "make index" in a crontab job

2008-09-10 Thread John Marshall
On Wed, 10 Sep 2008, 22:42 +0200, Morgan Wesstr?m wrote: > Is there a preferred way to update the > ports source tree and create the index through crontab? If your system is configured to use csup (or cvsup) to update your ports tree to the latest (ports-all tag=.), then you can fetch a pre-built

Trying to "make index" in a crontab job

2008-09-10 Thread Morgan Wesström
Hi list. # uname -a FreeBSD gatekeeper.pp.dyndns.biz 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Thu Sep 4 10:58:01 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL amd64 # which pkg_info /usr/sbin/pkg_info When I try to use crontab to "make index" in /usr/ports I end up with this