Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::CalendarAppointment

NAME

Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::CalendarAppointment – Scheduler daemon task handler module for CalendarAppointment

DESCRIPTION

This task handler executes calendar appointment jobs.

PUBLIC INTERFACE

new()

    use Kernel::System::ObjectManager;
    local $Kernel::OM = Kernel::System::ObjectManager->new();
    my $TaskHandlerObject = $Kernel::OM-Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::CalendarAppointment');

Run()

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
Scroll to Top