38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
#!/bin/ksh
|
|
|
|
###########################################################
|
|
# Progetto: Gateway MNP
|
|
# Script: task_report_fc
|
|
# Descrizione: Task report fc
|
|
#
|
|
###########################################################
|
|
|
|
THIS_PATH=`dirname $0`
|
|
. $THIS_PATH/setEnv.sh
|
|
|
|
$THIS_PATH/TestNodo.sh
|
|
|
|
if [ $? -eq 0 ]
|
|
then
|
|
# ESECUZIONE SCRIPT
|
|
|
|
task=task_report_fc
|
|
|
|
#controllo se il task è già in esecuzione
|
|
check_rc=`$THIS_PATH/is_Running_Script $task $$`
|
|
|
|
if [ $? -eq 0 ]
|
|
then
|
|
# esecuzione report fc Donor
|
|
$THIS_PATH/report/report_fc_donor.sh
|
|
# esecuzione report fc Recipient
|
|
$THIS_PATH/report/report_fc_recipient.sh
|
|
# esecuzione ftpfile report
|
|
#RU194 -- non deve essere eseguito ftp
|
|
#$THIS_PATH/ftp_files_report.sh
|
|
|
|
else
|
|
echo " (WARNING) $(date) Esecuzione non avvenuta per presenza processo precedente : $task"
|
|
fi
|
|
|
|
fi |