<<

NAME

scripts::test::sample::GenericAgent::TestSystemCallModule - Generic Agent test module

SYNOPSIS

This test modules calls the console command Maint::PostMaster::SpoolMailsReproces that internally do a system call to Maint::PostMaster::Read.

PUBLIC INTERFACE

new()
    use Kernel::System::ObjectManager;
    local $Kernel::OM = Kernel::System::ObjectManager->new();
    my $GenericAgentModuleObject = $Kernel::OM-Get('scripts::test::sample::GenericAgent::TestSystemCallModule');
Run()

Performs a call to Maint::PostMaster::SpoolMailsReproces.

    my $Success = $GenericAgentModuleObject->Run()

TERMS AND CONDITIONS

This software is part of the OTRS project (https://otrs.org/).

This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.

<<