Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::CalendarAppointment - Scheduler daemon task handler module for CalendarAppointment
This task handler executes calendar appointment jobs.
use Kernel::System::ObjectManager; local $Kernel::OM = Kernel::System::ObjectManager->new(); my $TaskHandlerObject = $Kernel::OM-Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::CalendarAppointment');
performs the selected task.
my $Result = $TaskHandlerObject->Run( TaskID => 123, TaskName => 'some name', # optional Data => { # appointment id as got from Kernel::System::Calendar::Appointment::AppointmentGet() NotifyTime => '2016-08-02 03:59:00', }, );
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.