Search Results

Search: Posts Made By: jrush
4,937
Posted By jrush
Yes! It is ! I add environment variable inside...
Yes! It is !
I add environment variable inside my script:
os.environ["LANG"]="en_US.UTF-8"
and now the time is in right format:
USER=mnadmin tty7 2009-04-19 12:04 (:0)

Thanks!
4,937
Posted By jrush
Different time format in script, started in shell or in cron
I try to write a python script, which analyze user logon time with "who" command.
When i start script in bash, i get this result:
USER=mnadmin tty7 2009-04-18 11:37 (:0)
But when i start...
Showing results 1 to 2 of 2

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