Change-Id: If2370cf73ec816bbac2a9b46ebbc8fb720eae805 Former-commit-id: e2f809e7b48f83b5abeb4dcda0c7e96a160e7fbf
25 lines
931 B
Bash
25 lines
931 B
Bash
#!/bin/sh
|
|
################################################################################
|
|
#
|
|
# Program name: rsyncGridsToCWF_client.sh
|
|
#
|
|
# Executes rsynceGridsToCWF.sh locally or remotely as needed
|
|
#
|
|
# Author: Juliya Dynina
|
|
#
|
|
# Revisions:
|
|
# Date Ticket# Engineer Description
|
|
# ------------ ---------- ----------- -------------------------------
|
|
# 04/25/2012 jdynina Created Script
|
|
# 01/13/2015 #4013 randerso Changed to work on any EDEX
|
|
# cluster server
|
|
################################################################################
|
|
if [ $# -lt 1 ] ;then
|
|
echo Invalid number of arguments.
|
|
echo Script stopped.
|
|
echo ./rsyncGridsToCWF_client.sh wfo
|
|
exit
|
|
fi
|
|
|
|
# ssh to ec which will actually go to one of the servers in the EDEX cluster
|
|
ssh ec "/awips2/GFESuite/bin/rsyncGridsToCWF.sh ${1}"
|