Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

rt-crontool template suggestions

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


Andy.Werner at amxinc

Apr 28, 2008, 8:53 AM

Post #1 of 1 (67 views)
Permalink
rt-crontool template suggestions

I have been working on getting RT::Action::RecordComment to work in a cron job for a while. It seems to me that any action that doesn't require a template will work fine, but when I try to use an action that requires a template, it doesn't work. I think that there is something in my template that isn't right. I am not using a scrip with this cronjob. If I need to use a scrip, please let me know with an example if possible.
Here's my cronjob:

./rt-crontool --search RT::Search::FromSQL --search-arg "id = '1406'" --action RT::Action::RecordComment --template-id 4 -verbose

Here is my template:

RT-Send-Cc: andy.werner[at]amxinc.com

Subject: {$Ticket->id} test.

The ticket {$Ticket->id} is only being used for testing.

Thanks,

RT Admin


Andy Werner

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.