On Tue, 2004-03-16 at 12:07, Robert Kehl wrote:
> On Tuesday, March 16, 2004 5:36 PM
> L. Mark Stone <[EMAIL PROTECTED]> wrote:
> > # Kernel/Config/GenericAgent.pm - config file of generic agent
> > # $Id: GenericAgent.pm.dist,v 1.7 2004/02/12 00:55:01 martin Exp $
>
> Assuming you sent GenericAgent.pm, not possibly GenericAgent.pm.dist,
> you're doing too much. This is enough (as job!):
>
> 'delete' => { Queue => 'Junk',
> Locks => ['unlock'],
> New => { Delete => 1 },
> },
>
> I left away the states definition which could have prevented GA from
> doing what you want.
>
> Again, check if you really modified GenericAgent.pm.
Hi Robert,
I did indeed modify GenericAgent.pm many OTRS versions ago, in
accordance with the documentation. :-) Indeed, the current
documentation shows the script I was using almost exactly (one of the
ticket states was eliminated).
Using your script up above, I notice that it is missing the comma after
the "1" in the { Delete => 1 }, line. I took out the comma.
But, unfortunately, I still have plenty of tickets in my Junk queue.
So, I tried running GenericAgent.pl manually. It responded:
Can't load agent job file 'Kernel::Config::GenericAgent':
That doesn't sound good!
Now what?
Thanks,
Mark
--
______________________________________________________________
L. Mark Stone
President
Reliable Networks of Maine, LLC
477 Congress Street, 5th Floor
Portland, ME 04107
Tel: (207) 772-5678
Cell: (917) 597-2057
Email: [EMAIL PROTECTED]
Web: http://www.RNoME.com
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/