Re: [rt-users] rt-crontool - increase the value of a CF.

2011-12-05 Thread Bart
Optimized the scrip by quite a bit, below the result: #!/bin/bash datum=`date +%d%m%y` if [ $datum -eq 261211 -o $datum -eq 090412 ] then echo Mag niet! else for i in `/opt/rt4/bin/rt ls -t ticket Status!='resolved' and Status!='rejected' and Status!='spam' and Status!='deleted' -f

Re: [rt-users] rt-crontool - increase the value of a CF.

2011-11-29 Thread Bart
Hi, I've created a bash script which will do what I want it to do, using the RT Tool since this ended up being the easiest for me (I'll look into improving this further, but for now this works). Below the code of what I've created: #!/bin/bash for i in `/opt/rt4/bin/rt ls -t ticket

[rt-users] rt-crontool - increase the value of a CF.

2011-11-23 Thread Bart
Hi, Before I start with the actual question I'll explain what I'm trying to achieve first, just in case someone has a better idea for achieving it ;) As you know the SLA plugin does it's job quite well but what if you'd want to know exactly how long something was at a supplier or how long a

Re: [rt-users] rt-crontool - increase the value of a CF.

2011-11-23 Thread Kevin Falcone
On Wed, Nov 23, 2011 at 05:25:01PM +0100, Bart wrote: I've then created a simple rt-crontool command to see if I could find a ticket and if I could set a value when I found that ticket. This worked as well, below the result: /opt/rt4/bin/rt-crontool \ --search

Re: [rt-users] rt-crontool - increase the value of a CF.

2011-11-23 Thread Bart
Did some reading on the RT-Tool page ( http://requesttracker.wikia.com/wiki/UseRtTool ) and found this command: bin/rt list -i Queue = 'testqueue' | bin/rt edit - set status=resolved I'm lacking the documentation and our test environment a.t.m. (am at home). So I'll do some experimenting in the