Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2010 00:42:06 +0300
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        Martin Schweizer <office@pc-service.ch>
Cc:        doc@freebsd.org
Subject:   Re: Documentation from source by cron failed
Message-ID:  <4CBB6DAE.7090601@gmail.com>
In-Reply-To: <20101017175134.GA81941@saturn.pcs.ms>
References:  <20101017175134.GA81941@saturn.pcs.ms>

next in thread | previous in thread | raw e-mail | index | archive | help
 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBB6DAE.7090601>