aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatresstester <[email protected]>2014-06-26 19:30:05 -0700
committermatresstester <[email protected]>2014-06-26 19:30:05 -0700
commit853b59c940c85934d5dff62be642f5e4b402adae (patch)
tree77bcf8f4c7237e0a8cf04e2b1c1c994d44297025
parenteeb39fc0d0f3c47faf6a4a721ce0c203a7832dc9 (diff)
downloadcoinos-server-853b59c940c85934d5dff62be642f5e4b402adae.tar.gz
coinos-server-853b59c940c85934d5dff62be642f5e4b402adae.zip
Update fetch_rates.sh
The script needs bash when run by cron
-rwxr-xr-xfetch_rates.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetch_rates.sh b/fetch_rates.sh
index 9c463c0b..0248c025 100755
--- a/fetch_rates.sh
+++ b/fetch_rates.sh
@@ -1,2 +1,3 @@
+#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
curl -k https://api.bitcoinaverage.com/exchanges/all > $DIR/rates.tmp && mv $DIR/rates.tmp $DIR/public/js/rates.json