[rt-users] Help with CLI
Ham MI-ID, Torsten Brumm
torsten.brumm at Kuehne-Nagel.com
Thu Jul 10 17:58:38 EDT 2008
You can set the password and user settings as a shell variable or a .rtrc file, look at the wiki, it is explained good.
More answers tomorrow, it's midnight here ;-)
Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com <rt-users-bounces at lists.bestpractical.com>
To: Shawn M Moore <sartak at bestpractical.com>
CC: rt-users at lists.bestpractical.com <rt-users at lists.bestpractical.com>
Sent: Thu Jul 10 23:54:29 2008
Subject: Re: [rt-users] Help with CLI
Shawn,
Thanks! That worked! Although now it wants a password so I have to go
find one.
Question: will I be able to embed a CLI command that creates a new
record and sets values for the fields within an SQL without it wanting a
password every time? I hope so. Otherwise I won't be able to walk thru
the old database and create new tickets in the new DB. Doing this one at
a time is not gonna do at all.
Kenn
LBNL
On 7/10/2008 2:24 PM, Shawn M Moore wrote:
> On Thu, Jul 10, 2008 at 02:09:43PM -0700, Kenneth Crocker wrote:
>
> Hi Kenneth,
>
>> bash-2.03$ pwd
>> /apps/rt
>> bash-2.03$ rt list "status='new'";
>> bash: rt: command not found
>
> It looks like the directory containing "rt" is not in your PATH. The
> laziest fix is to just specify the full path to the rt program:
>
> $ /apps/rt/bin/rt list status='new'
>
> Shawn
>
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080710/d103c323/attachment.htm>
More information about the rt-users
mailing list