From 853b59c940c85934d5dff62be642f5e4b402adae Mon Sep 17 00:00:00 2001 From: matresstester Date: Thu, 26 Jun 2014 19:30:05 -0700 Subject: Update fetch_rates.sh The script needs bash when run by cron --- fetch_rates.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3