cron limit

c0ldbyte c0ldbyte at myrealbox.com
Sun Mar 13 16:00:38 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 13 Mar 2005, junk wrote:

> Pieter de Boer wrote:
>
>>
>>> The script thats being ran by cron does a 'ps x |grep test.pl'.  and
>>> prases the output from test.pl, but since cron is limiting the char
>>> length, its not parsing the output right.
>>
>> ps -xw ?
>>
> Yeah. That was the problem.

Yeah that would be correct but still just might want to go with a couple
more "w"'s for instance just one will still cut off to a certain point
so a (ps auxwww) will make sure it gets everything and feeds back the
proper information. Sorry I didnt remember that right away.

Best luck & wishes:
 	--c0ldbyte

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F

iD8DBQFCNNQismFQuvffl58RAqTnAJ4m2nI1HTx6kog5uIICKVYsgWAMgQCfYkOL
ZAWnTmlcBJHsVDCL1CC3vt4=
=g6f6
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list