Re: sa-compile failes from cron job
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Content-Type: TEXT/PLAIN; CHARSET=X-UNKNOWN; format=flowed
On Sat, 28 Jul 2007 at 04:54 -0400, [email]firstname.lastname@example.org[/email] confabulated:
> Catalin Miclaus wrote:
>> I have SA 3.2.1 and FreeBSD 6.2.
>> I=92m trying to run sa-compile by using a weekly cron job but I have thi=[/color][/color]
>> Can't exec "re2c": No such file or directory at /usr/local/bin/sa-compil=[/color][/color]
>> line 278, <$fh> line 2944.
>> command failed! at /usr/local/bin/sa-compile line 279, <$fh> line 2944.[/color]
>> If I run same script from CLI is working fine.[/color]
> Add the path to re2c to your cron environment's PATH variable.[/color]
I noticed the same error. After adding /usr/local/bin to the path in the=20
crontab for root (i.e.: PATH=3D/usr/local/bin at the top) all errors were=
resolved. The other error that showed up here was gpg couldn't be found.=20
Thanks for the tip!