[rt-users] Documentation for rt-crontool
Dan Armeneau
darmeneau at prl.ab.ca
Thu Jan 29 11:44:38 EST 2004
It appears I need to make some adjustments - instead of my ticket's priority
incrementing from 1 to 10 throughout the day it jumps straight to '10' as
soon as the cron job runs.
If and when I discover the secret I will share it with everybody on the
list.
Dan
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Dan
Armeneau
Sent: January 29, 2004 9:22 AM
To: RT Users
Subject: RE: [rt-users] Documentation for rt-crontool
Thanks to all that responded - I now have my tickets' priority incrementing
throughout the day by having rt-crontool run every hour through cron.
I would just like to add that the suggestions offered by Mike Husband would
have saved me a ton of time and would be a big help to anybody in a similar
situation.
Dan
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Mike
Husband
Sent: January 28, 2004 5:11 PM
To: 'RT Users'
Subject: RE: [rt-users] Documentation for rt-crontool
It seems that I'm not the only one who has hunted high and low
for doc on rt-crontool. My conclusions from a fairly extensive
search in the archives is that there is very little and it's
hard to find.
So for the benefit of others, here is a summary of what I found:
rt-crontool allows you to run cron jobs to do such things as
escalating priority of tickets. It allows you to search for
a set of tickets and to take specific action based on a specified
condition.
rt-crontool lives in rt_install_dir/bin.
For usage run: rt-crontool --help
(this may take a while - wait 10 secs for output)
Location of search/condition/action modules:
rt_install_dir/lib/RT/Search, Condition, Action.
Read the modules (or perl docs) to see what each module does.
I found that I needed a little wrapper script to specify
for which queues I wished to escalate priority and then to run
rt-crontool separately for each queue.
Trust this will ease the pain for other novices.
Mike
> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Dan
> Armeneau
> Sent: Thursday, 29 January 2004 7:29 AM
> To: RT Users
> Subject: [rt-users] Documentation for rt-crontool
>
>
> Where would I find the documentation for 'rt-crontool'. I've
> searched just
> about everywhere and even saw it mentioned in my search but
> little that I
> have come up with has been of any value.
>
> More specifically - I would like to increment/escalate my
> ticket priority.
>
> Dan
>
_______________________________________________
rt-users mailing list
rt-users at lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
_______________________________________________
rt-users mailing list
rt-users at lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list