
Hi Brice, On Fri, Jan 30, 2004 at 01:45:15PM +0100, Brice Levy wrote:
I'm trying to have unlock timeouts working on the system but it won't. I've set up a 1 minute unlock timeout for Postmaster Queue (which receives all tickets). I create a new ticket via customer interface. I can see the ticket appear in the Postmaster queue, the state is new, and it is not locked. I lock the ticket in the zoom view, the ticket is still new, but locked. Now, I wait a couple minutes and launch the UnlockTickets.pl script from the command line : -- # bin/UnlockTickets.pl --timeout UnlockTickets.pl
- unlock tickets Copyright (c) 2002 Martin Edenhofer Unlock old tickets: -- The ticket is still locked. Same if I wait for the cronjob to do it. Using '--all' actually unlocks the ticket, though. What criteria must the ticket match to be unlocked with --timeout ? Did I miss something ?
Your setup sounds ok. Take a look on the UncountedUnlockTime config option [Kernel/Config/Defaults.pm] # UncountedUnlockTime # (don't count this hours as unlock time - weekdays: Mon,Tue,Wed,Thu,Fri,Sat,Sun;) $Self->{UncountedUnlockTime} = { Fri => [ 16,17,18,19,20,21,22,23 ], Sat => [ 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 ], Sun => [ 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 ], Mon => [ 0,1,2,3,4,5,6,7,8 ], }; [...] Maybe this is the problem. If not, http://bugs.otrs.org/. Thanks! :)
Thank you, Brice
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!