Re: Python does not get environment variable when using cron.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric Wertman

    Re: Python does not get environment variable when using cron.

    I'm not sure about the environment variable, but os.uname() should
    give you what you need otherwise.
  • John Machin

    #2
    Re: Python does not get environment variable when using cron.

    On Aug 18, 11:38 am, "Eric Wertman" <ewert...@gmail .comwrote:
    I'm not sure about the environment variable, but os.uname() should
    give you what you need otherwise.
    As documented, it should but may not ... consider using
    socket.gethost*

    Comment

    Working...