rt-crontool(1) Command-line interface to Request Tracker

SYNOPSIS


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