Changeset 2416 for palm/trunk/SCRIPTS/palm_wd
- Timestamp:
- Sep 6, 2017 2:28:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palm_wd
r1754 r2416 25 25 # ----------------- 26 26 # $Id$ 27 # Adapted for palmrun 28 # 29 # 1754 2016-02-22 13:50:22Z maronga 27 30 # 28 31 # 1753 2016-02-22 13:49:49Z maronga … … 662 665 # Return internal jobname 663 666 jobname = self.table.item(self.table.currentRow(),6).text() 667 jobrealname = self.table.item(self.table.currentRow(),0).text() 664 668 665 669 # Check description of job in order to login on the correct host … … 700 704 def ShowDetails(self): 701 705 702 jobname = self.table.item(self.table.currentRow(),6).text() 706 jobname = self.table.item(self.table.currentRow(),6).text() 703 707 descr = self.table.item(self.table.currentRow(),1).text() 704 708 for h in range(0,len(description)): … … 725 729 # Return internal jobname 726 730 jobname = self.table.item(self.table.currentRow(),6).text() 727 731 jobrealname = self.table.item(self.table.currentRow(),0).text() 728 732 # Check description of job in order to login on the correct host 729 733 descr = self.table.item(self.table.currentRow(),1).text() … … 733 737 user = username[h] 734 738 735 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd stop " + user + " " + jobname],739 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd stop " + jobrealname], 736 740 shell=False, 737 741 stdout=sub.PIPE, … … 756 760 # Return internal jobname 757 761 jobname = self.table.item(self.table.currentRow(),6).text() 758 762 jobrealname = self.table.item(self.table.currentRow(),0).text() 763 759 764 # Check description of job in order to login on the correct host 760 765 descr = self.table.item(self.table.currentRow(),1).text() … … 764 769 user = username[h] 765 770 766 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd restart " + user + " " + jobname],771 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd restart " + jobrealname], 767 772 shell=False, 768 773 stdout=sub.PIPE, … … 796 801 user = username[h] 797 802 798 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd parin " + user + " " + jobname],803 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd parin " + jobrealname], 799 804 shell=False, 800 805 stdout=sub.PIPE, … … 829 834 user = username[h] 830 835 831 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd rc " + user + " " + jobname],836 ssh = sub.Popen(["ssh", "%s" % host, "/sw/tools/python/2.7.6/generic/bin/python palm_wdd rc " + jobrealname], 832 837 shell=False, 833 838 stdout=sub.PIPE,
Note: See TracChangeset
for help on using the changeset viewer.