how to send escalation e-mails every hour not every day?

Moderator: crythias

Locked
bulram
Znuny newbie
Posts: 3
Joined: 03 Feb 2011, 17:54
Znuny Version: 3.0.4

how to send escalation e-mails every hour not every day?

Post by bulram »

When a ticket escalates there is, in my case, an e-mail send as a reminder. A reminder is also send every day until somebody solved the ticket.
What i want is to get a reminder every hour.
Generic Agend is running every minute calling the "NotifyAgentGroupOfCustomQueue.pm" script.

What i tried by now is to modifiy line 123 in the "NotifyAgentGroupOfCustomQueue.pm"
&& $Line->{CreateTime} =~ /$Year-$Month-$Day/ --- unmodified
&& $Line->{CreateTime} =~ /$Year-$Month-$Day-$Hour/ --- modified. That resulted in sending a reminder every minute.

Does anyone know how the NotifyAgentGroupOfCustomQueue.pm is to be modified to send the escalation reminder every hour?

Thank you for your help.
OTRS 3.0.4
Windows Server 2003 R2
MySQL
Locked