Files
artcraft/script/launch.sh
T
Brandon Thomas 9a1e7b52e0 Add launch file
2020-05-30 20:33:56 -04:00

14 lines
261 B
Bash
Executable File

#!/bin/sh
# We can't run this as a CronJob since it isn't guranteed to be scheduled
# to the same nodes. (Maybe there's a way for Kubernetes to do that?)
mkdir -p "${DOWNLOAD_DIR}"
mkdir -p "${TEMP_DIR}"
while :; do
./do_spaces_downloader
sleep 60
done