diff --git a/prod/script b/prod/script new file mode 100755 index 0000000..45dfc64 --- /dev/null +++ b/prod/script @@ -0,0 +1,7 @@ +#!/bin/bash +set -o nounset +DATH=$(date "+%X") +DATJ=$(date "+%u") + +scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/usr/libexec/tomcat10/webapps +scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/root/svwar/"${DATH}"