[rt-users] automaticaly set a reminder of 2, 5h to every new ticket in queue xxx
Lynch
itsallpartoftheplan187 at gmail.com
Mon Feb 25 11:08:02 EST 2013
maybe this helps you guys helping me!
My Cronjob:
/ 5 * * * * /usr/bin/rt-crontool%
--search RT::Search::FromSQL
--search-arg 'Type = "reminder" and (Status = "open" or
Status = "new")'
--condition RT::Condition::BeforeDue
--condition-arg 71h
--action RT::Action::SendEmail
--action-arg Owner
--transaction first
--template '150minremind'/
My Template (with the name "150 min remind")
/ To: { $Target = $Ticket->RefersTo->First->TargetObj; ($Argument eq
'TicketOwner' ? $Target : $Ticket)->OwnerObj->EmailAddress }
Subject: {$Ticket->Subject} is due {$Ticket->DueAsString}
Just a friendly heads up. This reminder is for ticket #{$Target->Id}.
{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Target->Id}/
--
View this message in context: http://requesttracker.8502.n7.nabble.com/automaticaly-set-a-reminder-of-2-5h-to-every-new-ticket-in-queue-xxx-tp52830p52883.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list