1RT-CRONTOOL(1)        User Contributed Perl Documentation       RT-CRONTOOL(1)
2
3
4

NAME

6       rt-crontool - a tool to act on tickets from an external scheduling tool
7

SYNOPSIS

9           # find all active tickets in the queue 'general' and set their priority to 99 if they are overdue:
10           rt-crontool \
11             --search RT::Search::ActiveTicketsInQueue  --search-arg general \
12             --condition RT::Condition::Overdue \
13             --action RT::Action::SetPriority --action-arg 99 \
14             --verbose
15
16           # Escalate tickets
17             rt-crontool \
18               --search RT::Search::ActiveTicketsInQueue  --search-arg general \
19               --action RT::Action::EscalatePriority
20

DESCRIPTION

22       This script is a tool to act on tickets from an external scheduling
23       tool, such as cron.
24
25       Security:
26
27       This tool allows the user to run arbitrary perl modules from within RT.
28       If this tool were setgid, a hostile local user could use this tool to
29       gain administrative access to RT. It is incredibly important that
30       nonprivileged users not be allowed to run this tool. It is suggested
31       that you create a non-privileged unix user with the correct group
32       membership and RT access to run this tool.
33

OPTIONS

35       search
36           Specify the search module you want to use
37
38       search-arg
39           An argument to pass to --search
40
41       condition
42           Specify the condition module you want to use
43
44       condition-arg
45           An argument to pass to --condition
46
47       action
48           Specify the action module you want to use. This option may be
49           repeated to apply multiple actions to found tickets.
50
51       action-arg
52           An argument to pass to --action. This option may be repeated to
53           pass corresponding arguments to multiple calls of --action.
54
55       template
56           Specify name or id of template(s) you want to use
57
58       transaction
59           Specify if you want to use either 'first', 'last' or 'all'
60           transactions
61
62       transaction-type
63           Specify the comma separated list of transactions' types you want to
64           use
65
66       log Adjust LogToSTDERR config option
67
68       verbose
69           Output status updates to STDOUT
70
71
72
73perl v5.32.1                      2021-01-27                    RT-CRONTOOL(1)
Impressum