diff options
| author | matresstester <[email protected]> | 2014-06-26 19:30:05 -0700 |
|---|---|---|
| committer | matresstester <[email protected]> | 2014-06-26 19:30:05 -0700 |
| commit | 853b59c940c85934d5dff62be642f5e4b402adae (patch) | |
| tree | 77bcf8f4c7237e0a8cf04e2b1c1c994d44297025 /fetch_rates.sh | |
| parent | eeb39fc0d0f3c47faf6a4a721ce0c203a7832dc9 (diff) | |
| download | coinos-server-853b59c940c85934d5dff62be642f5e4b402adae.tar.gz coinos-server-853b59c940c85934d5dff62be642f5e4b402adae.zip | |
Update fetch_rates.sh
The script needs bash when run by cron
Diffstat (limited to 'fetch_rates.sh')
| -rwxr-xr-x | fetch_rates.sh | 1 |
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 |
