C
Carl Lerche
Hello,
I have a simple ruby script that writes the content of `ps -ax` to a
file, when I call it myself, it runs fine, however when I set the
script in a cron job and cron calls it, the output is truncated at 80
characters, which is quite annoying. Any ideas as to why this is? I
have my PATH set in the crontab:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Thanks,
Carl Lerche
I have a simple ruby script that writes the content of `ps -ax` to a
file, when I call it myself, it runs fine, however when I set the
script in a cron job and cron calls it, the output is truncated at 80
characters, which is quite annoying. Any ideas as to why this is? I
have my PATH set in the crontab:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Thanks,
Carl Lerche