[rt-users] using rt command line to check whether a queue exists

Darin Perusich darin at darins.net
Mon May 13 14:00:59 EDT 2013


Hello All,

I've been playing around w/scripting the creation of queues and
haven't been able to figure this out. How do I use the rt command line
tool to list whether a queue exists or not? 'rt ls -t queue "name =
queue1"' throws unsupported object, "rt list -q queue1" lists the
tickets.

Ideally a command that throw's an exit code, 0=true or 1=false, would
be great but I can work w/whatever output.

Thanks!

--
Later,
Darin



More information about the rt-users mailing list