[rt-users] Emailing tickets search result

Toby Darling darling at ccdc.cam.ac.uk
Wed Feb 6 12:24:21 EST 2008


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 postmaster at ccdc.cam.ac.uk 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.



More information about the rt-users mailing list