parse an environment file
Jason Friedman
jason at powerpull.net
Sun Sep 30 20:11:09 EDT 2012
More information about the Python-list mailing list
Sun Sep 30 20:11:09 EDT 2012
- Previous message (by thread): Can't import modules
- Next message (by thread): parse an environment file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
$ crontab -l * * * * * env This produces mail with the following contents: HOME=/home/spjsf LOGNAME=spjsf PATH=/usr/bin:/bin PWD=/home/spjsf SHELL=/bin/sh SHLVL=1 USER=spjsf _=/usr/bin/env On the other hand $ env produces about 100 entries, most of which are provided by my .bashrc; cron provides only a limited number of environment variables. I want my python 3.2.2 script, called via cron, to know what those additional variables are. How?
- Previous message (by thread): Can't import modules
- Next message (by thread): parse an environment file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list