<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=UseRtCrontool</id>
	<title>UseRtCrontool - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=UseRtCrontool"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;action=history"/>
	<updated>2026-08-22T14:59:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4094&amp;oldid=prev</id>
		<title>Admin: 6 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4094&amp;oldid=prev"/>
		<updated>2016-04-06T20:39:39Z</updated>

		<summary type="html">&lt;p&gt;6 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:39, 6 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4093:rev-4094 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4093&amp;oldid=prev</id>
		<title>81.200.198.20: /* ser Configuration */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4093&amp;oldid=prev"/>
		<updated>2014-09-26T08:42:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;ser Configuration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:42, 26 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ser &lt;/del&gt;Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;User &lt;/ins&gt;Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;rt-crontool&amp;lt;/code&amp;gt; should ideally be run by a special unprivileged operating system user who has also been entered in RT as a privileged user with global [= [[ModifyTicket]] ] and [= [[ShowTicket]] ] rights. If you have created an operating system user named &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, for instance, then create an RT user with &amp;lt;code&amp;gt; Username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Unix login&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, check &amp;lt;code&amp;gt; Let this user be granted rights&amp;lt;/code&amp;gt;, and assign a password. Then under Configuration/Global/User rights, add the two rights to the user you just created. This user should have read access to the RT files such as [[RT Config|RT_Config]].pm and [[RT SiteConfig|RT_SiteConfig]].pm. If, for example, the &amp;lt;code&amp;gt; rt&amp;lt;/code&amp;gt; group has read access to all the installed RT files, you should assign your created user to that group (under [[UNIXen]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;rt-crontool&amp;lt;/code&amp;gt; should ideally be run by a special unprivileged operating system user who has also been entered in RT as a privileged user with global [= [[ModifyTicket]] ] and [= [[ShowTicket]] ] rights. If you have created an operating system user named &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, for instance, then create an RT user with &amp;lt;code&amp;gt; Username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Unix login&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, check &amp;lt;code&amp;gt; Let this user be granted rights&amp;lt;/code&amp;gt;, and assign a password. Then under Configuration/Global/User rights, add the two rights to the user you just created. This user should have read access to the RT files such as [[RT Config|RT_Config]].pm and [[RT SiteConfig|RT_SiteConfig]].pm. If, for example, the &amp;lt;code&amp;gt; rt&amp;lt;/code&amp;gt; group has read access to all the installed RT files, you should assign your created user to that group (under [[UNIXen]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4092:rev-4093:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>81.200.198.20</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4092&amp;oldid=prev</id>
		<title>81.200.198.20: /* User Configuration */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4092&amp;oldid=prev"/>
		<updated>2014-09-26T08:41:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;User Configuration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:41, 26 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;User &lt;/del&gt;Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ser &lt;/ins&gt;Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;rt-crontool&amp;lt;/code&amp;gt; should ideally be run by a special unprivileged operating system user who has also been entered in RT as a privileged user with global [= [[ModifyTicket]] ] and [= [[ShowTicket]] ] rights. If you have created an operating system user named &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, for instance, then create an RT user with &amp;lt;code&amp;gt; Username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Unix login&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, check &amp;lt;code&amp;gt; Let this user be granted rights&amp;lt;/code&amp;gt;, and assign a password. Then under Configuration/Global/User rights, add the two rights to the user you just created. This user should have read access to the RT files such as [[RT Config|RT_Config]].pm and [[RT SiteConfig|RT_SiteConfig]].pm. If, for example, the &amp;lt;code&amp;gt; rt&amp;lt;/code&amp;gt; group has read access to all the installed RT files, you should assign your created user to that group (under [[UNIXen]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;rt-crontool&amp;lt;/code&amp;gt; should ideally be run by a special unprivileged operating system user who has also been entered in RT as a privileged user with global [= [[ModifyTicket]] ] and [= [[ShowTicket]] ] rights. If you have created an operating system user named &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, for instance, then create an RT user with &amp;lt;code&amp;gt; Username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Unix login&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, check &amp;lt;code&amp;gt; Let this user be granted rights&amp;lt;/code&amp;gt;, and assign a password. Then under Configuration/Global/User rights, add the two rights to the user you just created. This user should have read access to the RT files such as [[RT Config|RT_Config]].pm and [[RT SiteConfig|RT_SiteConfig]].pm. If, for example, the &amp;lt;code&amp;gt; rt&amp;lt;/code&amp;gt; group has read access to all the installed RT files, you should assign your created user to that group (under [[UNIXen]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4091:rev-4092:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>81.200.198.20</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4091&amp;oldid=prev</id>
		<title>124.169.174.70: Link to proper docs</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UseRtCrontool&amp;diff=4091&amp;oldid=prev"/>
		<updated>2013-07-17T01:54:25Z</updated>

		<summary type="html">&lt;p&gt;Link to proper docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;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.&lt;br /&gt;
&lt;br /&gt;
rt-crontool lives in rt_install_dir/bin. [http://bestpractical.com/docs/rt/latest/rt-crontool.html The official, maintained documentation for rt-crontool is in the main RT documentation.]&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
For usage run: rt-crontool --help&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./rt-crontool is a tool to act on tickets from an external scheduling tool, such as cron. &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;It takes several arguments: &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 --search - Specify the search module you want to use&lt;br /&gt;
 --search-arg - An argument to pass to --search&lt;br /&gt;
 --condition - Specify the condition module you want to use&lt;br /&gt;
 --condition-arg - An argument to pass to --condition&lt;br /&gt;
 --action - Specify the action module you want to use&lt;br /&gt;
 --action-arg - An argument to pass to --action&lt;br /&gt;
 --template - Specify name or id of template(s) you want to use&lt;br /&gt;
 --transaction - Specify if you want to use either &amp;#039;first&amp;#039;, &amp;#039;last&amp;#039; or all&amp;#039; transactions&lt;br /&gt;
 --transaction-type - Specify the comma separated list of transactions&amp;#039; types you want to use&lt;br /&gt;
 --log - Adjust LogToScreen config option&lt;br /&gt;
 --verbose - Output status updates to STDOUT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Security: &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;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 incredibly important that nonprivileged users not be allowed to run this tool. It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool (see User Configuration below). &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Example: &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;The following command will find all active tickets in the queue &amp;#039;general&amp;#039; and set their priority to 99 if they haven&amp;#039;t been touched in 4 hours: &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 bin/rt-crontool \&lt;br /&gt;
  --search RT::Search::ActiveTicketsInQueue  --search-arg general \&lt;br /&gt;
  --condition RT::Condition::UntouchedInHours --condition-arg 4 \&lt;br /&gt;
  --action RT::Action::SetPriority --action-arg 99 \&lt;br /&gt;
  --verbose&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Escalate tickets &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 bin/rt-crontool \&lt;br /&gt;
  --search RT::Search::ActiveTicketsInQueue  --search-arg general \&lt;br /&gt;
  --action RT::Action::EscalatePriority&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Location of search/condition/action modules: rt_install_dir/lib/RT/Search, Condition, Action.&lt;br /&gt;
&lt;br /&gt;
(Example plugin Condition: [[[TicketIDMatches]].pm [[TicketIDMatches]]])&lt;br /&gt;
&lt;br /&gt;
Read the modules (or perl docs) to see what each module does.&lt;br /&gt;
&lt;br /&gt;
You may wish to wrap rt-crontool in a small script rather than call it directly from cron. e.g. to setup input parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== User Configuration ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rt-crontool&amp;lt;/code&amp;gt; should ideally be run by a special unprivileged operating system user who has also been entered in RT as a privileged user with global [= [[ModifyTicket]] ] and [= [[ShowTicket]] ] rights. If you have created an operating system user named &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, for instance, then create an RT user with &amp;lt;code&amp;gt; Username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Unix login&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt; rtcrontool&amp;lt;/code&amp;gt;, check &amp;lt;code&amp;gt; Let this user be granted rights&amp;lt;/code&amp;gt;, and assign a password. Then under Configuration/Global/User rights, add the two rights to the user you just created. This user should have read access to the RT files such as [[RT Config|RT_Config]].pm and [[RT SiteConfig|RT_SiteConfig]].pm. If, for example, the &amp;lt;code&amp;gt; rt&amp;lt;/code&amp;gt; group has read access to all the installed RT files, you should assign your created user to that group (under [[UNIXen]]).&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
If you run into &amp;quot;/No RT user found. Please consult your RT administrator./&amp;quot;, then you&amp;#039;re not running &amp;lt;code&amp;gt; rt-crontool&amp;lt;/code&amp;gt; under the identity of an appropriate user (see previous). Somebody indicates that you can run the tool as root (uid 0), but that didn&amp;#039;t work properly for me when using &amp;lt;code&amp;gt; rt-crontool&amp;lt;/code&amp;gt; to do priority escalation.&lt;br /&gt;
&lt;br /&gt;
If you keep on seeing the help over and over, keep in mind that &amp;lt;code&amp;gt; rt-crontool&amp;lt;/code&amp;gt; requires both &amp;lt;code&amp;gt; Search&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Action&amp;lt;/code&amp;gt; items.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[ConfigureEscalation]]&lt;br /&gt;
* [[TimedNotifications]]&lt;br /&gt;
* [[UntouchedInHours]]&lt;br /&gt;
* [[AnotherConfigurationEscalationExample]]&lt;/div&gt;</summary>
		<author><name>124.169.174.70</name></author>
	</entry>
</feed>