Changeset 2161


Ignore:
Timestamp:
01/16/19 08:55:17 (5 years ago)
Author:
nanardon
Message:

Allow to run command to send kill -1 to la-sync-manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/Accounts.pm

    r2009 r2161  
    201201} 
    202202 
     203sub call_batch_sync { 
     204    my ($self) = @_; 
     205 
     206    if (my $command = $self->{c}->config->{callSyncCmd}) { 
     207        if (system($command) != 0) { 
     208            $self->{c}->log->warn("Error while running callSyncCmd: $!"); 
     209        } 
     210    } else { 
     211        $self->SUPER::call_batch_sync; 
     212    } 
     213 
     214} 
     215 
    203216=head1 AUTHOR 
    204217 
Note: See TracChangeset for help on using the changeset viewer.