[Swift-commit] r6161 - trunk/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Jan 22 11:53:21 CST 2013


Author: davidk
Date: 2013-01-22 11:53:21 -0600 (Tue, 22 Jan 2013)
New Revision: 6161

Modified:
   trunk/bin/stop-coaster-service
Log:
Remove old jobs when usernames differ


Modified: trunk/bin/stop-coaster-service
===================================================================
--- trunk/bin/stop-coaster-service	2013-01-18 05:05:08 UTC (rev 6160)
+++ trunk/bin/stop-coaster-service	2013-01-22 17:53:21 UTC (rev 6161)
@@ -84,9 +84,9 @@
 
 if [ "$WORKER_MODE" == "condor" ] || [ "$WORKER_MODE" == "gwms" ]; then
    if [ -n "$WORKER_RELAY_HOST" ]; then
-      ssh $WORKER_USERNAME@$WORKER_RELAY_HOST "condor_rm $USER"    
+      ssh $WORKER_USERNAME@$WORKER_RELAY_HOST "condor_rm $WORKER_USERNAME"    
    else
-     condor_rm $USER
+     condor_rm $CONDOR_USERNAME
    fi
 fi
 




More information about the Swift-commit mailing list