Bug 41851: (QA follow-up) Log completion before exiting
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
18ffe25210
commit
29caec496b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue