Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::GenericAgent - Scheduler daemon task handler module for GenericAgent
This task handler executes generic agent jobs
my $TaskHandlerObject = $Kernel::OM-Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::GenericAgent');
Performs the selected task.
my $Result = $TaskHandlerObject->Run( TaskID => 123, TaskName => 'some name', # optional Data => { # job data as got from Kernel::System::GenericAgent::JobGet() Name 'job name', Valid 1, # ... }, );
Returns:
$Result = 1; # or fail in case of an error
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.