[rt-users] Re-occurring Task/tickets

Ken O'Driscoll rt-lists at ieinternet.com
Wed Jun 15 11:23:31 EDT 2005


On Wed, 2005-06-15 at 15:47, Tim Wilson wrote:
> On Jun 15, 2005, at 9:12 AM, Jonathan Jesse wrote:
> 
> > Is there a way in RT to create Re-occurring tasks in RT?  For example,
> > every Patch Tuesday I need to test the patches and then approve  
> > them for
> > release via Windows Software Update Services (WSUS).  So I would  
> > like a
> > task created and then due on the next Patch Tuesday.
> 
> This sounds like a job for cron. At the most basic level you could  
> just have cron generate the ticket via email. That wouldn't let you  
> set the due date though. I'm sure you could write a script that  
> utilizes the RT API to do it and then run that from cron.
> 
> -Tim

You shouldn't need to use API just to set the due date.  The CLI tool
can do this.  Use a script to generate the ticket content into a text
file including the due=01/01/2006 field then pipe it into the CLI with
something like cat mynewticket.txt | rt -i

You'll need to set a couple environment variables in your script first -
from memory they are RTUSER, RTPASSWD and RTSERVER - which is the URL to
your RT instance.

I think the CLI has some built in help.

 - Ken.


--
This email has passed through an IE Internet MailWall gateway
and has been screened for known viruses, potential viruses and
malicious code.

IE Internet.com MailWall (http://ieinternet.com/mailwall/)
--




More information about the rt-users mailing list