I wrote:
> if you're running a python program directly from cron
and I should really learn to tell the difference between a shell script and
a python program (but hey, this is comp.lang.python).
see jepler's reply for the quickest way to fix your problems.
--
http://mail.python.org/mailma
Justin Delvecchio wrote:
> I've researched this problem for the last few days. Say I have
> the following script that I execute from cron on linux. Yes, the
> following runs quite fine from the command line:
> And the error I continually get is:
>
> Traceback (most recent call last):
> File "
You need to "export" the variables. otherwise, they exist only in the shell,
not in the processes it starts.
Jeff
pgplXE5VuF44A.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
I’ve researched this problem for the last few days. Say
I have the following script that I execute from cron on linux. Yes, the
following runs quite fine from the command line:
#! /bin/sh
# /u01/app/oracle/product/10.1.0/Db_1/lib
source /home/oracle/.bashrc
PYTHONPATH=/usr/lib/pyth