Python does not get environment variable when using cron.

John Machin sjmachin at
Mon Aug 18 04:11:57 CEST 2008

On Aug 18, 11:38 am, "Eric Wertman" <ewert... at> wrote:
> 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

More information about the Python-list mailing list