Changeset 586 in tmcsimulator for branches/realtime_VDS/bin/getLatestStationData.bash
- Timestamp:
- 03/10/2020 09:30:14 AM (6 years ago)
- Location:
- branches/realtime_VDS/bin
- Files:
-
- 1 added
- 1 moved
-
. (added)
-
getLatestStationData.bash (moved) (moved from branches/realtime_VDS/getLatestStationData.bash) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/realtime_VDS/bin/getLatestStationData.bash
r584 r586 1 1 #!/bin/bash 2 HOST='your.ftp.site' 3 USER='remoteusername' 4 PASSWD='remotepasswd' 2 # Download the latest 5min aggregate real time vds data 3 HOST='pems.dot.ca.gov' 4 USER='var_johndalbey' 5 PASSWD='carrotjuice!' 5 6 6 7 ftp -n -v $HOST << EOT … … 12 13 bye 13 14 EOT 15 16 # Extract the first line (timestamp) and save it 17 head -1 5minagg_latest.txt > /web/webapps/realtime_VDS/dynamicdata/last_fetch_time.txt 18 19 /home/jdalbey/createVDSgson.bash
Note: See TracChangeset
for help on using the changeset viewer.
