River Tarnell skrev:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
it's now possible to schedule jobs that run SQL queries, as well as those that use CPU resources. this is described on the wiki at
https://wiki.toolserver.org/view/Batch_job_scheduling#Scheduling_SQL_queries
Is there any way to schedule jobs when you don't know in advance which SQL cluster they use. I normally just give the database name to my programs on the commandline and leave it to the program to look up which cluster to use.
How can I such schedule jobs?
Another matter is that I use binaries which are compiled to a specific architecture. Would it be possible in a script to test which architecture it is run on, and then select the binary to run accordingly? Any code exeamples would be great.
/byrial