Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Python
Re: Python does not get environment variable when using cron.
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Eric Wertman
#1
Re: Python does not get environment variable when using cron.
Aug 18 '08, 01:45 AM
I'm not sure about the environment variable, but os.uname() should
give you what you need otherwise.
John Machin
#2
Aug 18 '08, 02:15 AM
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
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment