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.


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

Reply via email to