[SOLVED]No execution : CronTaskManager-Unlock timeout

Moderator: crythias

Locked
solown
Znuny newbie
Posts: 29
Joined: 05 Nov 2018, 16:28
Znuny Version: OTRS5

[SOLVED]No execution : CronTaskManager-Unlock timeout

Post by solown »

Hi,

I set up my queues with the Unlock Timeout at 5 min. I modified the value of : Daemon::SchedulerCronTaskManager::Task###TicketUnlockTimeout like this :

Code: Select all

Function: Execute
MaximumParallelInstances: '1'
Module: Kernel::System::Console::Command::Maint::Ticket::UnlockTimeout
Params: []
Schedule: */5 * * * *
TaskName: TicketUnlockTimeout
So the jobs Unlock Timeout running every 5 minutes.
With otrs.Console.pl Maint::Daemon::Summary, I checked if my task was correctly scheduled

Code: Select all

  NAME                                     LAST EXECUTION       LAST STATUS  LAST DURATION      NEXT EXECUTION
  TicketUnlockTimeout                      2019-02-05 14:05:00  Success      < 1 Second         2019-02-05 15:05:00

Even if the next execution is scheduled, it doesn't execute and tickets aren't unlock.


Regards,
Solown
Last edited by solown on 06 Feb 2019, 10:10, edited 1 time in total.
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: No execution : CronTaskManager-Unlock timeout

Post by root »

Hi,

If a ticket is unlock depends on the queue setting's unlock time.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Locked