Warning: Can't use blame annotator:
svn blame failed on branches/realtime_VDS/bin/getLatestStationData.bash: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/realtime_VDS/bin/getLatestStationData.bash @ 586

Revision 586, 410 bytes checked in by jdalbey, 6 years ago (diff)

realtime_VDS add bin folder and put scripts there.

RevLine 
1#!/bin/bash
2# Download the latest 5min aggregate real time vds data
3HOST='pems.dot.ca.gov'
4USER='var_johndalbey'
5PASSWD='carrotjuice!'
6
7ftp -n -v $HOST << EOT
8ascii
9user $USER $PASSWD
10prompt
11cd D12/Data/5min
12get 5minagg_latest.txt
13bye
14EOT
15
16# Extract the first line (timestamp) and save it
17head -1 5minagg_latest.txt > /web/webapps/realtime_VDS/dynamicdata/last_fetch_time.txt
18
19/home/jdalbey/createVDSgson.bash
Note: See TracBrowser for help on using the repository browser.