aggiornamento Mind

This commit is contained in:
2021-01-21 21:17:44 +01:00
parent 8715a70cec
commit e1eefe1ae3
5 changed files with 1537 additions and 1 deletions

View File

@@ -46,9 +46,10 @@ my $matlab_func_dir = "/usr/local/matlab_func/";
my $matlab_error = '';
my $matlab_timeout = '1800';
my $email_addr =
'andrea.carri@aseltd.eu,edoardo.cavalca@aseltd.eu,alessandro.battilani@gmail.com,alessandro.valletta@aseltd.eu';
'andrea.carri@aseltd.eu,alessandro.battilani@gmail.com,alessandro.valletta@aseltd.eu';
my $from = 'ASE Alert System<alert@aseltd.eu>';
my ( $email_msg, $email_obj );
my $lock_elab = '/tmp/lock.loadcsvdata';
my $G201_fcheck = 0;
my $D2W_fcheck = 0;
my $FtpToCustomerCmd = 'SendFtpElabData.pl';
@@ -615,6 +616,10 @@ writeOutSql($tool);
if ( $tooltype eq "GD" ) {
print getTimeStamp("log") . " - pid $$ >> tool GD: nothing to do.\n";
}
elsif ( -e $lock_elab ) {
print getTimeStamp("log")
. " - pid $$ >> $unit - $tool MatLab calc not executed due to the lock: $lock_elab\n";
}
else {
matlabCalc();