Thanks - it does the job, but it has two drawbacks:

1. It produces very simple textual output.  I would like to send a richer
HTML output similar to how search results appear in RT.

2. It is hard to customize.  I would like to use a template mechanism for
easy customization that my occur later in time.

Eynat

-----Original Message-----
From: Toby Darling [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 06 February 2008 7:24 PM
To: Eynat Nir Mishor
Cc: [email protected]
Subject: Re: [rt-users] Emailing tickets search result

Hi

> Example for usage: every night email the manager a list of all tickets
that
> were created in the past day and how they divide by current status.

Simple command line:

for s in open new resolved; do
   echo "=== $s ==="; rt list -s "created = 'today' AND status = '$s'"; 
done | mail ...

LEGAL NOTICE
Unless expressly stated otherwise, information contained in this
message is confidential. If this message is not intended for you,
please inform [EMAIL PROTECTED] and delete the message.
The Cambridge Crystallographic Data Centre is a company Limited
by Guarantee and a Registered Charity.
Registered in England No. 2155347 Registered Charity No. 800579
Registered office 12 Union Road, Cambridge CB2 1EZ.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to