Code: Select all
root@otrs:/opt/otrs# bin/otrs.UnlockTickets.pl --timeout
otrs.UnlockTickets.pl <Revision 1.14> - unlock tickets
Copyright (C) 2001-2013 xxx, http://otrs.org/
Unlock old tickets:
root@otrs:/opt/otrs# bin/otrs.UnlockTickets.pl --all
otrs.UnlockTickets.pl <Revision 1.14> - unlock tickets
Copyright (C) 2001-2013 xxx, http://otrs.org/
Unlock all tickets:
Also I set Framework::Core::Time -> working hours - 24/7 , that's how our support works (just saw somewhere that timeout depends on working hours)...
Also tried to run this SQL query from otrs.UnlockTickets.pl script, but without last two lines...received a lot of strings in result:
Code: Select all
SELECT st.tn, st.id, st.timeout, sq.unlock_timeout
FROM ticket st, queue sq
WHERE st.queue_id = sq.id
AND sq.unlock_timeout != 0
AND st.ticket_state_id IN ( ${\(join ', ', @UnlockStateIDs)} )
AND st.ticket_lock_id NOT IN ( ${\(join ', ', @ViewableLockIDs)} ) ",
Code: Select all
( ${\(join ', ', @UnlockStateIDs)} )
Code: Select all
( ${\(join ', ', @UnlockStateIDs)} )
Thanks.