help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: max. length of line in cfengine script ?


From: Frank Smith
Subject: Re: max. length of line in cfengine script ?
Date: Tue, 11 Feb 2003 12:30:59 -0600

Put all that in a script, have cfengine copy the script to the host and add the
crontab line containing the script name.

Frank

--On Tuesday, February 11, 2003 19:01:05 +0000 Yves <Y99@gmx.de> wrote:

Hello,

I tried to make a long entry in crontab (a dirty one, I know)

AppendIfNoSuchLine "0 2 * * *  umask 033;cd /var/adm;if test -s amdlog; then cp -pf 
amdlog amdlog.old; cp /dev/null amdlog;ps -ef | grep /usr/local/sbin/amd | grep -v grep | 
awk '{print $2}' | xargs kill -HUP >/dev/null; fi"

the following message appears by parsing the script:

        Import file cf.newinst
        LEX Error: input string too long to fit in yywtext[].
           Increase the array size by defining YYLMAX to be a higher value

There are ca. 200 characters in my line above. How many character are allowed 
in a line by default ?
Where can I increase the value ? ...a new compilation is necessary, I think...

any hints ?

Gruß Yves

 Y99@gmx.de am 11.02.2003



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine



--
Frank Smith                                             fsmith@hoovers.com
Systems Administrator                                  Voice: 512-374-4673
Hoover's Online                                          Fax: 512-374-4501




reply via email to

[Prev in Thread] Current Thread [Next in Thread]