cron limit

junk junk at boxchat.net
Sun Mar 13 16:22:45 PST 2005


c0ldbyte wrote:

> 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
>

Thanks for all the help.
It's working great.

_______________________________________________
freebsd-hackers at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list