mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 03:51:25 +00:00
13 lines
277 B
Bash
Executable File
13 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# We can't run this as a CronJob since it isn't guaranteed 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 "${SLEEP_TIMEOUT}"
|
|
done
|