add HTCondor backend

This commit is contained in:
Johannes Heuel
2022-09-19 08:34:03 +02:00
parent b28ac5456d
commit 928a07fc5c
2 changed files with 23 additions and 0 deletions

9
backends/htcondor/run.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/bash
# apparently this vodoo kills all processes opened in this script
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
ssh -N -L 8080:localhost:8080 lxplus7103 &
sleep 10
/afs/cern.ch/work/j/jheuel/zoidberg/target/debug/zoidberg_client http://localhost:8080