I should begin by explaining I am not a sysadmin, I'm merely one trying to
use the right tool for the right job, and for my job I believe Python to be
that tool. Here is an outline of what I wish to accomplish, pointers to
modules, tools of interest, etc. would be greatly appreciated... Below each
number I propose the modules I've found, but please let me know if there are
better ones.. or others I should be aware of. Also, any good resources
regarding #2?? Thanks in advance!!

1) Maintain a mysql database which contains information, as well as
'control' variables, pointers to directories, etc.  for various shell
scripts / fortran code.
->pyMySQL

2) Query various servers to see if there is 'idyl' time/resources... send a
job to the server if it's available...
????????

 3) Use python to check the file system for existing files (glob?) , decide
which 'jobs' need to be run, etc.
->os, sys, glob

4) Use python as glue between the db and the shell /fortran routines. For
this I picture python querying the db, 'writing' new CONTROL files, and
using subprocess to run the scripts / fortran.
->sys, os, subprocess

5) Update the db with information regarding the status of the various
scripts / fortran.
->pyMySQL

6) Have a portion of the information available to a plone site for dynamic
html generation.
->ZMySQLDBConn
->Z SQL Methods



-- 
Configuration
``````````````````````````
Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Five 1.4.1,
Python 2.4.4 (#1, Jul 3 2007, 22:58:17) [GCC 4.1.1 20070105 (Red Hat
4.1.1-51)],
PIL 1.1.6
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to