327915 - Modifica flussi Cubo Saldi Netti (Consumer e Business) - FINE! pt.2 -
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
###########################################################
|
||||
# Progetto: dbcfx
|
||||
# Script: genera_report_dwhe2e_saldinetti
|
||||
# Descrizione: Applicazione per l'generare il file di report tra dwhe2e e dbcfx
|
||||
#
|
||||
###########################################################
|
||||
|
||||
THIS_PATH=`dirname $0`
|
||||
. $THIS_PATH/setEnv.sh
|
||||
|
||||
THIS=`basename $0 .sh`
|
||||
LOG=$GNP_LOG_SCRIPT_HOME/$THIS.log
|
||||
|
||||
adesso=$(date)
|
||||
|
||||
#controllo se lo script è già in esecuzione
|
||||
|
||||
check_rc=`$THIS_PATH/is_Running_Script.sh $THIS $$`
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo '****** elaborazione DHWE2E Report Saldi Netti file. L argomento è CO oppure BU ' $adesso Start DWHE2E_REPORT >> $LOG
|
||||
$THIS_PATH/ProcessExecutor.sh it.valueteam.gnp.internalflow.in.Dwhe2eRepoSaldiNettiIn $1>> $LOG
|
||||
else
|
||||
echo " (WARNING) $(date) Esecuzione non avvenuta per presenza processo precedente : $prog" >> $LOG
|
||||
fi
|
||||
@@ -0,0 +1,3 @@
|
||||
0 14 * * 1-7 /gnpapp/script/sftpd.sh -get DWHE2E_REPOSALDINETTI_BU
|
||||
0 14 * * 1-7 /gnpapp/script/sftpd.sh -get DWHE2E_REPOSALDINETTI_CO
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
0 5 * * 1-7 /gnpapp/script/sftpd.sh -put DWHE2E_REPOSALDINETTI_BU
|
||||
0 5 * * 1-7 /gnpapp/script/sftpd.sh -put DWHE2E_REPOSALDINETTI_CO
|
||||
@@ -0,0 +1,5 @@
|
||||
45 3 * * 1-6 /gnpapp/script/Crea_ReportSaldiNetti_DWHE2E.sh CO
|
||||
0 16 * * 0 /gnpapp/script/Crea_ReportSaldiNetti_DWHE2E.sh CO
|
||||
|
||||
45 3 * * 1-6 /gnpapp/script/Crea_ReportSaldiNetti_DWHE2E.sh BU
|
||||
0 16 * * 0 /gnpapp/script/Crea_ReportSaldiNetti_DWHE2E.sh BU
|
||||
Reference in New Issue
Block a user