Search Results

Search: Posts Made By: lost_neko
2,444
Posted By lost_neko
Yes, the ps command truncates the output. I added...
Yes, the ps command truncates the output. I added the option -w (ps -w -U erv |...)and it seems working.
Thank you.
2,444
Posted By lost_neko
script execution differs in cron
I have the following script (MyScript):

#!/bin/sh
ps U erv | grep -v grep | grep -F "/usr/bin/collect -o 101"
echo "Result: $?"

When executed from the command line, I get
... (the line...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy