From owner-freebsd-doc@FreeBSD.ORG Sun Oct 17 22:08:06 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC281106566B for ; Sun, 17 Oct 2010 22:08:06 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA298FC08 for ; Sun, 17 Oct 2010 22:08:05 +0000 (UTC) Received: by wyb38 with SMTP id 38so364459wyb.13 for ; Sun, 17 Oct 2010 15:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=SmKH154ddcxctz7fNdDBI6ibkS+r3JnjNp89L+s1gvg=; b=k5zH6LBJDm+Y5srPXP/D/ojzBFLzd7gOeZiYUwTpemunHMOZ3k7gFgCULwPYadgV4P 2l3iOhx2FHtiXNGtKL1Y5RXrKzfnW2zoxmzja34XHlLns01rovb43pPP9LJNkWONgIDy 4ZsggQvhFpgpyywOCWiOjIWDY5NWXnvWnCmWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=sqtgZjBOZUe+DQCG0xa14XtMvCa+9uz+u8+qRBtqapRROb6zr8+QBVO7onzC0xCvoa eYxvNCZjY4NopTdq5OnVSIqEKD0cG/1sv3arMk2b0uoEA36hlEKGG9Ac+EaeFxBx219C 1AvezPDaK6cQuHxDEFFfjeZFiuTiKw1WUFX+4= Received: by 10.216.93.13 with SMTP id k13mr4436615wef.97.1287351730170; Sun, 17 Oct 2010 14:42:10 -0700 (PDT) Received: from pulstar.local (ppp-94-69-61-250.home.otenet.gr [94.69.61.250]) by mx.google.com with ESMTPS id x65sm6335701weq.25.2010.10.17.14.42.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Oct 2010 14:42:09 -0700 (PDT) Message-ID: <4CBB6DAE.7090601@gmail.com> Date: Mon, 18 Oct 2010 00:42:06 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Martin Schweizer References: <20101017175134.GA81941@saturn.pcs.ms> In-Reply-To: <20101017175134.GA81941@saturn.pcs.ms> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: doc@freebsd.org Subject: Re: Documentation from source by cron failed X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 22:08:06 -0000 On 17/10/2010 8:51 μ.μ., Martin Schweizer wrote: > Hello > > I dayly cvsup the hole documentation source as described in the handbook. This works as expected. Weekly I want to create the hole source by a cron job. For this I create a script: > > #!/bin/sh > /usr/bin/make -C /usr/doc/ FORMATS='html html-split txt pdf rtf' install clean > exit 0 > > If I start it at the shell all works well. If I start it by cron I get always such error messages I use cron to build the whole web site and docs daily. As remko said, make sure you have the textproc/docproj port installed. Assuming you have that (since you are able to build from the shell), the only other thing that comes to mind is cron's environment vs your interactive user environment. At a minimum I would add the PATH statement of your ~/.profile as the first line on the script. Quite possibly everything under /usr/local is unknown to your script when run from cron.