Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (12 sloc) 309 Bytes
#!/bin/bash
set -e
./download-recent-jsons.sh
mkdir -p cdn tmp
./nasajsons-to-allnasa.py >tmp/allnasa.realjson
( echo -n "nasaarray = " ; cat tmp/allnasa.realjson ) >cdn/allnasa.json
for i in nasajsons-fixed/*.json ; do
./do-image-for-day.sh $i
./upload-day.sh $i
done
sleep 7200
./upload-allnasa.sh