From: Dan White Date: Thu, 5 Jan 2023 17:29:44 +0000 (-0600) Subject: No need to keep display the git diff X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=acd2cc1c75638865e64858b9b41653a6a5889575;p=scheduling-bazaar-data.git No need to keep display the git diff --- diff --git a/do-updates.sh b/do-updates.sh index 7220295..79d4f87 100755 --- a/do-updates.sh +++ b/do-updates.sh @@ -15,6 +15,7 @@ echo "*** Fetching database items" echo "*** Fetching stations info" ../python-files/get-stations.py stations.json +# and update the stations SQLite database for analysis ../python-files/update-stations stations.json stations.db echo @@ -22,12 +23,12 @@ echo "*** Getting observations" #../python-files/get-observations.py --fetch observations.db #../python-files/get-observations.py --fetch --retry-unknown observations.db -# lag by 24h to let some updates settle down -date_end="$(date -u --date='24 hours ago' '+%Y-%m-%dT%H:%M')" +# lag by 48h to let some updates settle down +date_end="$(date -u --date='48 hours ago' '+%Y-%m-%dT%H:%M')" ../python-files/get-observations.py --fetch --pages 100 --end="$date_end" observations.db # what changed? -git diff +#git diff git add db-*.json stations.json git commit -m 'cron update info'