From 8148e963a590a7f4b0a9ca9ac6d80d44f669dd9d Mon Sep 17 00:00:00 2001 From: tmaeno Date: Mon, 21 Oct 2013 06:45:22 +0000 Subject: [PATCH] added killTaskJEDI --- README.txt | 1 + pandaserver/test/killTaskJEDI.py | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 pandaserver/test/killTaskJEDI.py diff --git a/README.txt b/README.txt index 4bb7073ff..f6d4d7f9c 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,7 @@ Release Note current + * added killTaskJEDI * removed constraint from the brokerage so that many input jobs can go to T2 * added HIMEM to hospital * improved the brokerage to use mintime diff --git a/pandaserver/test/killTaskJEDI.py b/pandaserver/test/killTaskJEDI.py new file mode 100755 index 000000000..21334afc5 --- /dev/null +++ b/pandaserver/test/killTaskJEDI.py @@ -0,0 +1,20 @@ +import time +import sys +import optparse + +import userinterface.Client as Client + +aSrvID = None + +from taskbuffer.OraDBProxy import DBProxy +# password +from config import panda_config + +optP = optparse.OptionParser(conflict_handler="resolve") +options,args = optP.parse_args() + +jediTaskID = args[0] + +s,o = Client.killTask(jediTaskID) +print o +