I think (never tried) that it could be possible to write a custom scrip
action that select the template based on a time condition.

This way you have just to use this action where needed and create the
pre-defined templates without changing them dynamically.

You can also write perl conditions in your template, using {}. Thought
too much perl in templates make them often difficult to read/modify.

If you prefer to stay with a cron job you would better write it using
perl and use the RT API to change the template. Writing directly to the
RT DB is always a bad idea imho.


-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com
-- 
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training

Reply via email to