rt-crontool-3.81
Command-line interface to request tracker
Usage
rt-crontool [--verbose]
--search
<module>
--search-arg
<argument>
\
--condition
<module>
--condition-arg
<argument>
\
--action
<module>
--action-arg
<argument>
Examples
rt-crontool --search RT::Search::ActiveTicketsInQueue \--search-arg General \--condition RT::Condition::UntouchedInHours \--condition-arg 4 \--action RT::Action::SetPriority \--action-arg \--verbose
Security
This tool allows the user to run arbitrary perl modules from within RT.
If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT.
It is suggested that you create a non-privileged Unix user with the correct group membership and RT access to run this tool.
It is incredibly important that non-privileged users not be allowed to run this tool.
Internals
get_transactions
Takes ticket and returns RT::Transactions object with transactions of the ticket according to command line arguments "--transaction" and <--transaction-type>.
get_template
Takes a ticket and returns a template according to command line options.
load_module
Loads a perl module, dying nicely if it can't find it.
loc LIST
Localize this string, with the current user's currentuser object