[rt-users] issue using rt-crontool

Stephen Turner sturner at MIT.EDU
Tue Nov 15 13:16:26 EST 2005


At Monday 11/14/2005 03:27 PM, Chris wrote:
>Yes, this is the response I receive from the command-line.
>
>Here is the Ignored Tickets paste (I stole most of it from the transaction
>template):
>
>RT-Attach-Message: yes
>
>{$Transaction->CreatedAsString}: Request {$Ticket->id} has not been updated
>for the past 3 days.  Please update, resolve, or put ticket into a stalled
>status.
>
>Transaction: {$Transaction->Description}
>        Queue: {$Ticket->QueueObj->Name}
>      Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
>given)"}
>        Owner: {$Ticket->OwnerObj->Name}
>   Requestors: {$Ticket->RequestorAddresses}
>       Status: {$Ticket->Status}
>  Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
>
>
>{$Transaction->Content()}

I'm guessing that the crontool does not give the template a transaction 
context in the way a scrip does. The template gets invoked as the result of 
a search rather than an update, so there is no transaction.

I think if you remove the $Transaction parts you'll be OK.

Steve  




More information about the rt-users mailing list