[rt-users] rt-remind help

Mike Patterson mikep at uclink.berkeley.edu
Wed Jan 19 16:33:31 EST 2005


Oluwatomisin,

Take a look at the instructions here:
http://wiki.bestpractical.com/index.cgi?UseRtReminder

1) You put a copy of rt-remind.pm in your  /yourRTinstalldir/lib/RT 
directory, for me it's in /usr/local/rt3/lib/RT  (Yes it really needs to 
be in the lib/RT directory).
2) Then you edit the configuration parameters on the file (what email 
addresses, etc..). 
When I first tried it, it didn't work.  So I typed "which sendmail" and 
saw that my FreeBSD 4.11  sendmail is /usr/sbin/sendmail  
so I changed rt-remind.pm to match my setup:
# Path to sendmail and flags
#my($sendmail) = "/usr/lib/sendmail -t";
my($sendmail) = "/usr/sbin/sendmail -t";
3) You need to make the file executable (e.g. chmod 755 rt-remind.pm).
4) You'll want to manually test it before setting up a cron job.  With 
no flags it only shows high priority tickets, with -A flag it shows all 
new,open,stalled tickets.
When I first tested (w/o reading all of the instructions) I just tried 
./rt-remind.pm without flags and I didn't get any emails (because I 
don't typically use ticket priorities).
To test, cd to /yourRTinstalldir/lib/RT and type
 ./rt-remind.pm -A
5) Edit your crontabs if you want to happen automatically (e.g. crontab 
-e).  My crontab entry sends a reminder once a week:
0 6 * * 1 /usr/local/rt3/lib/RT/rt-remind.pm -A

Good luck,
Mike



More information about the rt-users mailing list