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

5 years ago
  1. #!/usr/bin/env sh
  2. set -e
  3. ONE_HOUR_DELAY=3600
  4. while true
  5. do
  6. echo 'Starting to create mirrors'
  7. node /app/src/index.js
  8. echo 'Waiting...'
  9. sleep "${ONE_HOUR_DELAY}"
  10. done