You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
177 B

#!/usr/bin/env sh
set -e
ONE_HOUR_DELAY=3600
while true
do
echo 'Starting to create mirrors'
node /app/src/index.js
echo 'Waiting...'
sleep "${ONE_HOUR_DELAY}"
done