Search Results

Search: Posts Made By: latimer
2,125
Posted By latimer
Jim, thanks for pointing me to the right...
Jim, thanks for pointing me to the right direction.
Indeed locale is set differently for cron compared to my shell environment.
I altered my script so that it runs
LC_TIME=en_US.UTF-8 who -u ...
2,125
Posted By latimer
Who -u gives different output if run from cron than if run from terminal?
If I run 'who -u' interactively or from a script invoked through bash in a tty on my Ubuntu 12LTS box I get an output like this:
testuser pts/0 Dec 9 02:32 . 2163 (host.xx.yy)...
Showing results 1 to 2 of 2

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