Does anyone know, please?
Med Vänliga Hälsningar/Best Regards
Martin Petersson
*: Office +46 (0)522 98028
*: Fax +46 (0)70 25 79 453
*: www.uanet.sehttp://www.uanet.se/
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
P Please consider the environment before printing this e-mail.
Från: Martin Petersson
Skickat: den 7 mars 2012 12:05
Till: rt-users@lists.bestpractical.com
Ämne: reminders?
Hello,
I´m following this guide http://requesttracker.wikia.com/wiki/Reminders
I don’t understand where to paste the code?
0 6 * * * root /opt/rt4/bin/rt-crontool
–search RT::Search::FromSQL
–search-arg ‘Type = “reminder” and (Status = “open” or Status = “new”)’
–condition RT::Condition::BeforeDue
–condition-arg 2d
–action RT::Action::SendEmail
–action-arg Owner
–transaction first
–template ‘Reminder due soon’
It´s not in my ordinary crontab, right? Is it in /opt/rt4/bin/rt-crontool? In that case, where?
I found this in the file
=head1 NAME
rt-crontool - a tool to act on tickets from an external scheduling tool
=head1 SYNOPSIS
# find all active tickets in the queue 'general' and set their priority to 99 if they are overdue:
rt-crontool \
--search RT::Search::ActiveTicketsInQueue --search-arg general \
--condition RT::Condition::Overdue \
--action RT::Action::SetPriority --action-arg 99 \
--verbose
# Escalate tickets
rt-crontool \
--search RT::Search::ActiveTicketsInQueue --search-arg general \
--action RT::Action::EscalatePriority
=head1 DESCRIPTION
This script is a tool to act on tickets from an external scheduling tool, such
as cron.
Med Vänliga Hälsningar/Best Regards
Martin Petersson
*: Office +46 (0)522 98028
*: Fax +46 (0)70 25 79 453
*: www.uanet.sehttp://www.uanet.se/
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
P Please consider the environment before printing this e-mail.
Does anyone know, please?
I answered your question yesterday:
http://lists.bestpractical.com/pipermail/rt-users/2012-March/075478.html
Please read the mailing list if you’re posting to it. Replies stay on
the mailing list so that future readers and searchers can find common
answers later. If all replies went to individuals then the community
would need to do a lot more work answering repeat questions.
Thomas
Ok thank you, my spam filter must have taken it.
I´ll try this. thanks
Med Vänliga Hälsningar/Best Regards
Martin Petersson
M: Office +46 (0)522 98028
: Fax +46 (0)70 25 79 453
F: www.uanet.se
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
Please consider the environment before printing this e-mail.
-----Ursprungligt meddelande-----
Från: Thomas Sibley [mailto:trs@bestpractical.com]
Skickat: den 8 mars 2012 16:59
Till: rt-users@lists.bestpractical.com
Kopia: Martin Petersson
Ämne: Re: [rt-users] VB: reminders?On 03/08/2012 10:29 AM, Martin Petersson wrote:
Does anyone know, please?
I answered your question yesterday:
http://lists.bestpractical.com/pipermail/rt-users/2012-March/075478.html
Please read the mailing list if you’re posting to it. Replies stay on the mailing list so that future readers and searchers can find common answers later. If all replies went to individuals then the community would need to do a lot more work answering repeat questions.
Thomas
Sorry to bother again but
Can i have it like this /etc/crontab?
/etc/crontab: system-wide crontab
Unlike any other crontab you don’t have to run the `crontab’
command to install the new version when you edit this file
and files in /etc/cron.d. These files also have username fields,
that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0 6 * * * root /opt/rt4/bin/rt-crontool
–search RT::Search::FromSQL
–search-arg ‘Type = “reminder” and (Status = “open” or Status = “new”)’
–condition RT::Condition::BeforeDue
–condition-arg 2d
–action RT::Action::SendEmail
–action-arg Owner
–transaction first
–template ‘Reminder due soon’
Med Vänliga Hälsningar/Best Regards
Martin Petersson
M: Office +46 (0)522 98028
: Direct +46 (0)73 84 00 450
r: Fax +46 (0)70 25 79 453
F: www.uanet.se
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
Please consider the environment before printing this e-mail.
-----Ursprungligt meddelande-----
Från: Thomas Sibley [mailto:trs@bestpractical.com]
Skickat: den 8 mars 2012 16:59
Till: rt-users@lists.bestpractical.com
Kopia: Martin Petersson
Ämne: Re: [rt-users] VB: reminders?On 03/08/2012 10:29 AM, Martin Petersson wrote:
Does anyone know, please?
I answered your question yesterday:
http://lists.bestpractical.com/pipermail/rt-users/2012-March/075478.html
Please read the mailing list if you’re posting to it. Replies stay on the mailing list so that future readers and searchers can find common answers later. If all replies went to individuals then the community would need to do a lot more work answering repeat questions.
Thomas
Hello
And thank you for the tip. I have RT 4.0.4 , does it work? I installed but didnt cleared out removed old extension and cleared out Masonbut it doesnt seem to happen anything?
Do i need to do anything more except the installation?
- perl Makefile.PL
- make
- remove old Extension: rm -rf /opt/rt3/local/plugins/RT-Extension-ReminderImproved
- make install
- Add ‘RT::Extension::ReminderImproved’ to @Plugins in /opt/rt3/etc/RT_SiteConfig.pm
- Clear mason cache: rm -rf /opt/rt3/var/mason_data/obj
- Restart webserver
I added this “RT::Extension::ReminderImproved” in RT_SiteConfig.pm like this
You must install Plugins on your own, this is only an example
of the correct syntax to use when activating them.
There should only be one @Plugins declaration in your config file.
#Set(@Plugins,(qw(RT::Extension::QuickDelete RT::Extension::CommandByMail)));
Set(@Plugins,(qw(RT::Extension::ReminderImproved)));
1;
Med Vänliga Hälsningar/Best Regards
Martin Petersson
*: Office +46 (0)522 98028
*: Direct +46 (0)73 84 00 450
*: Fax +46 (0)70 25 79 453
*: www.uanet.sehttp://www.uanet.se/
[Beskrivning: Beskrivning: Beskrivning: sign]
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
P Please consider the environment before printing this e-mail.
Re: VB: reminders? [In reply tohttp://www.gossamer-threads.com/lists/rt/users/108973#108973]
Hello Martin
why you don’t use this plugin
https://github.com/cloos/RT-Extension-ReminderImproved
https://github.com/cloos/RT-Extension-ReminderImproved
best regards
john s.
View this message in context: http://old.nabble.com/reminders--tp33457213p33472176.html
You should really read the README file:
The changes in this extension are already included in RT 4.0.
So for 4.0 you don’t need this extension as it only back port some
changes from 4.0 to 3.8 to make the reminder feature useful under 3.8.
-ChrisAm 10.03.2012 16:38, schrieb Martin Petersson:
Hello
And thank you for the tip. I have RT 4.0.4 , does it work? I installed
but didnt cleared out removed old extension and cleared out Masonbut it
doesnt seem to happen anything?
Do i need to do anything more except the installation?
-
perl Makefile.PL
-
make
-
remove old Extension: rm -rf
/opt/rt3/local/plugins/RT-Extension-ReminderImproved
-
make install
-
Add ‘RT::Extension::ReminderImproved’ to @Plugins in
/opt/rt3/etc/RT_SiteConfig.pm
-
Clear mason cache: rm -rf /opt/rt3/var/mason_data/obj
-
Restart webserver
I added this �RT::Extension::ReminderImproved� in RT_SiteConfig.pm like this
You must install Plugins on your own, this is only an example
of the correct syntax to use when activating them.
There should only be one @Plugins declaration in your config file.
#Set(@Plugins,(qw(RT::Extension::QuickDelete
RT::Extension::CommandByMail)));
Set(@Plugins,(qw(RT::Extension::ReminderImproved)));
1;
Hi Christian
Yes i noticed that but why or what do i have to do to get the email reminders, cause I don’t receive any today?
Med Vänliga Hälsningar/Best Regards
Martin Petersson
M: Office +46 (0)522 98028
: Fax +46 (0)70 25 79 453
F: www.uanet.se
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
Please consider the environment before printing this e-mail.
-----Ursprungligt meddelande-----
Från: Christian Loos [mailto:cloos@netsandbox.de]
Skickat: den 19 mars 2012 09:15
Till: Martin Petersson
Kopia: fireskyer@emailn.de; rt-users@lists.bestpractical.com
Ämne: Re: VB: reminders?
You should really read the README file:
The changes in this extension are already included in RT 4.0.
So for 4.0 you don’t need this extension as it only back port some changes from 4.0 to 3.8 to make the reminder feature useful under 3.8.
-ChrisAm 10.03.2012 16:38, schrieb Martin Petersson:
Hello
And thank you for the tip. I have RT 4.0.4 , does it work? I installed
but didnt cleared out removed old extension and cleared out Masonbut
it doesnt seem to happen anything?
Do i need to do anything more except the installation?
-
perl Makefile.PL
-
make
-
remove old Extension: rm -rf
/opt/rt3/local/plugins/RT-Extension-ReminderImproved
-
make install
-
Add ‘RT::Extension::ReminderImproved’ to @Plugins in
/opt/rt3/etc/RT_SiteConfig.pm
-
Clear mason cache: rm -rf /opt/rt3/var/mason_data/obj
-
Restart webserver
I added this ”RT::Extension::ReminderImproved” in RT_SiteConfig.pm
like this
You must install Plugins on your own, this is only an example
of the correct syntax to use when activating them.
There should only be one @Plugins declaration in your config file.
#Set(@Plugins,(qw(RT::Extension::QuickDelete
RT::Extension::CommandByMail)));
Set(@Plugins,(qw(RT::Extension::ReminderImproved)));
1;
Just have a look at the Wiki:
http://requesttracker.wikia.com/wiki/Reminders
-ChrisAm 19.03.2012 09:40, schrieb Martin Petersson:
Hi Christian
Yes i noticed that but why or what do i have to do to get the email reminders, cause I don’t receive any today?