Changeset 586 in tmcsimulator


Ignore:
Timestamp:
03/10/2020 09:30:14 AM (6 years ago)
Author:
jdalbey
Message:

realtime_VDS add bin folder and put scripts there.

Location:
branches/realtime_VDS/bin
Files:
5 added
1 moved

Legend:

Unmodified
Added
Removed
  • branches/realtime_VDS/bin/getLatestStationData.bash

    r584 r586  
    11#!/bin/bash 
    2 HOST='your.ftp.site' 
    3 USER='remoteusername' 
    4 PASSWD='remotepasswd' 
     2# Download the latest 5min aggregate real time vds data 
     3HOST='pems.dot.ca.gov' 
     4USER='var_johndalbey' 
     5PASSWD='carrotjuice!' 
    56 
    67ftp -n -v $HOST << EOT 
     
    1213bye 
    1314EOT 
     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 TracChangeset for help on using the changeset viewer.