Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron - Scheduler daemon task handler module for cron like jobs
This task handler executes scheduler tasks based in cron notation.
my $TaskHandlerObject = $Kernel::OM-Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron');
Performs the selected Cron task.
my $Success = $TaskHandlerObject->Run( TaskID => 123, TaskName => 'some name', # optional Data => { Module => 'Kernel::System:::Console:Command::Help', Function => 'Execute', Params => [ # parameters array reference '--force', '--option', 'my option', ], }, );
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.