1 parent 8f1a813 commit 6b63a5eCopy full SHA for 6b63a5e
1 file changed
script/slurm_stoker_containerized_kickoff.sh
@@ -102,8 +102,7 @@ echo "--------------------------------"
102
# and https://stackoverflow.com/a/4642975
103
host_sbatch_url="https://raw.githubusercontent.com/mmore500/dishtiny/${repo_sha}/script/host_sbatch.sh"
104
echo "host_sbatch_url ${host_sbatch_url}"
105
-wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 10 -qO- "${host_sbatch_url}" \
106
- | bash -s "${JOB_SCRIPT}" \
+curl --fail --show-error --silent --location --retry 10 --retry-delay 1 --max-time 15 --connect-timeout 20 "${host_sbatch_url}" | bash -s "${JOB_SCRIPT}" \
107
&& rm -f "${JOB_SCRIPT}" \
108
&& echo "${JOB_SCRIPT} submitted"
109
0 commit comments