cron -> python -> jpython -> no dice

Thomas Duterme thomas at madeforchina.com
Mon Apr 16 01:09:36 EDT 2001


Argh...

Ok, I feel thoroughly rejected by cron.  I have a python job
which inside the script calls another jpython script.  (the
jpyton connects to oracle and does some Db-fu)

Now, when I call from the command line, I'm fine.
Everything works well and the jpython executes properly.
When I call from cron, the python executes, but no dice on
the jpython.

I call the jpython as follows within the .py:

os.system('/usr/local/bin/jpython /var/script/db_up.py')

Any ideas folks?

TIA,
-Thomas






More information about the Python-list mailing list