First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/ksh
|
||||
|
||||
oggi=`date +%Y%m%d`
|
||||
|
||||
cp IndicatoriMNP.properties IndicatoriMNP.properties.old$oggi
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo 'Attenzione: impossibile aggiornare il file delle properties'
|
||||
rm IndicatoriMNP.properties.old$oggi 2> /dev/null
|
||||
else
|
||||
rm IndicatoriMNP.properties
|
||||
cp IndicatoriMNP$oggi.properties IndicatoriMNP.properties
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
rm IndicatoriMNP$oggi.properties
|
||||
else
|
||||
echo 'Attenzione impossibile sostituire il file di properties'
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user