I was never able to get cronsub to accept arguments to the Python script;
perhaps I was doing it wrong, but this worked so I stopped worrying about
it.
----- Original Message -----
From: "River Tarnell" <river.tarnell(a)wikimedia.de>
To: <toolserver-l(a)lists.wikimedia.org>
Sent: Thursday, January 06, 2011 1:39 PM
Subject: Re: [Toolserver-l] Submitting Python jobs to SGE from cron
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Russell Blau:
With these scripts in your home directly, you can
then set up a cron job
to
run any Python script using the following syntax in your crontab:
30 9 * * * $HOME/pysub jobname
$HOME/path/script.py arg1 arg2
What feature(s) does this provide that cronsub doesn't?
- river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
iEYEARECAAYFAk0mDFAACgkQIXd7fCuc5vJCaQCeO8xJQypYe6p4y08ijt7/2gl2
wngAn0CbmLG4nie6bNqPs7EDJYc8clZZ
=7wHw
-----END PGP SIGNATURE-----
_______________________________________________
Toolserver-l mailing list (Toolserver-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette