Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor - Scheduler daemon task handler module for generic asynchronous tasks
This task handler executes scheduler generic asynchronous tasks.
my $TaskHandlerObject = $Kernel::OM->Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor');
Performs the selected asynchronous task.
my $Success = $TaskHandlerObject->Run( TaskID => 123, TaskName => 'some name', # optional Data => { Object => 'Some::Object::Name', Function => 'SomeFunctionName', Params => $Params , # HashRef with the needed parameters }, );
Returns:
$Success => 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.