Hi Martin, Martin Edenhofer wrote:
but I have a queue with Unlock Time = 0 => No tickets are unlockedHi Christoph,On Wed, Feb 19, 2003 at 11:16:30AM +0100, Christoph Kaulich wrote:I have a queue where unlock time is set 1, I understand this means that holding time is one minute, and thne that message is unlocked.
But this works only with the cronjob changed from
35 * * * * $HOME/bin/UnlockTickets.pl --timeout >> /dev/null
[...]
This "UnlockTickets.pl --timeout" cronjob runs every hour. -=> Every hour is a little bit bad for 1 min unlocks. --=> You need to run the cronjob every 2 min (or something like that).
35 * * * * $HOME/bin/UnlockTickets.pl --all >> /dev/null
Queues with unlock time set to 0, are not affected and the tickets are not unlocked, even with the all option.
Is that the planned behaviour?
No. If you use "UnlockTickets.pl --all" _all_ locked tickets in the system should be unlocked.
and one queue with Unlock Time = 1 => All tickets are unlocked
and my cron job is
mucki - kaulich - /home/kaulich: 23 -> more /opt/otrs/var/cron/unlock
# --
# cron/unlock - unlock old locked ticket of the OTRS
# Copyright (C) 2002-2003 Martin Edenhofer <[EMAIL PROTECTED]>
# --
# $Id: unlock.dist,v 1.3 2003/01/07 21:46:16 martin Exp $
# This software comes with ABSOLUTELY NO WARRANTY.
# --
# unlock every hour old locked tickets
35 * * * * $HOME/bin/UnlockTickets.pl --all >> /dev/null
Note: My system is SuSe7.3, otrs 1.0.1
Do you have a clue what is going wrong?
ChristophMartin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Christoph _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs