[rt-users] moving from global scrips to per-queue scrips

Emmanuel Lacour elacour at easter-eggs.com
Wed Sep 17 03:55:00 EDT 2008


On Tue, Sep 16, 2008 at 12:25:28PM -0400, amy.rich at tufts.edu wrote:
> At the moment, we have a set of global scrips that apply to all queues.  We
> want to migrate to using per-queue scrips since many of the queues have
> different needs.  Is there an easy way to take the existing global scrips and
> apply them to all queues (and then delete the global scrips)?


here is a script I used a while ago to do this, you should adjust path
at top on the script and also add unwanted queues in @queues_blacklist
if needed.

should works fine but ... test it on test RT instance before your
production RT maybe ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: global2perqueue-scrips.pl
Type: text/x-perl
Size: 2077 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080917/d766a8d0/attachment.pl>


More information about the rt-users mailing list