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
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
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
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
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