-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Russell Blau:
I was never able to get cronsub to accept arguments to
the Python script;
This seems to work fine for me:
willow% cat test.py
#!/usr/bin/python
#$ -j y
#$ -o $HOME/test.out
import sys
print sys.argv
willow% cronsub test test.py a b c
willow% tail ~/test.out
['/sge62/default/spool/wolfsbane/job_scripts/114704', 'a', 'b',
'c']
I think we fixed cronsub some time ago to allow arguments, both to qsub and the
script itself. (Did you ever report this problem to us?)
- river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
iEYEARECAAYFAk0mEnkACgkQIXd7fCuc5vK6jACaAye7rfEapwJrB5rYLlf2lKZQ
p7gAnjFM/EudjCWo6GrMQKzibfzla2cR
=35y7
-----END PGP SIGNATURE-----