From 8e4cdaf22b07e4a943c344fbf57f46fc17c85a6f Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Fri, 10 Apr 2026 16:07:10 -0400 Subject: [PATCH] Bug 41851: (QA follow-up) Log completion before exiting Signed-off-by: Emily Lamancusa Signed-off-by: Lucas Gass (cherry picked from commit 29caec496bcc18f6e64b30f1bbd2d0feb7147e2b) Signed-off-by: Jacob O'Mara --- misc/cronjobs/edi_cron.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/cronjobs/edi_cron.pl b/misc/cronjobs/edi_cron.pl index 8d1dd8c575..1d1072eaa1 100755 --- a/misc/cronjobs/edi_cron.pl +++ b/misc/cronjobs/edi_cron.pl @@ -146,6 +146,8 @@ foreach my $response (@downloaded_responses) { process_ordrsp($response); } +cronlogaction( { action => 'End', info => "COMPLETED" } ); + if ( close $pid_handle ) { unlink $pidfile; exit 0; @@ -154,8 +156,6 @@ if ( close $pid_handle ) { exit 1; } -cronlogaction( { action => 'End', info => "COMPLETED" } ); - sub check_pidfile { # sysopen my $fh, $pidfile, O_EXCL | O_RDWR or log_exit "$0 already running"