From 83ac8dcbf17e76b7e82c6cfa3023632627d76b1d Mon Sep 17 00:00:00 2001 From: POPO Toto Date: Wed, 20 Oct 2021 10:53:47 +0200 Subject: [PATCH] Envoi du fichier war --- SDIS29/svwar.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 SDIS29/svwar.sh diff --git a/SDIS29/svwar.sh b/SDIS29/svwar.sh new file mode 100755 index 0000000..7a2f5c8 --- /dev/null +++ b/SDIS29/svwar.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -o nounset +DATH=$(date "+%X") +DATJ=$(date "+%u") + +scp /home/frederic.duhin/NetBeansProjects/Projet_SIDS29/dist/Projet_SIDS29.war root@10.121.38.72:/usr/libexec/tomcat10/webapps +scp /home/frederic.duhin/NetBeansProjects/Projet_SIDS29/dist/Projet_SIDS29.war root@10.121.38.72:/root/svwar