Hi,

probiers mal mit:
      Queues => ['Junk'],

Aus Kernel/System/Ticket.pm:

      # ticket properties (optional)
      TicketNumber => '%123546%',
      Queues => ['system queue', 'other queue'],
      States => ['new', 'open'],
      StateIDs => [3, 4],
      StateType => 'Open', # Open|Closed tickets
      Priorities => ['1 very low', '2 low', '3 normal'],
      PriorityIDs => [1, 2, 3],
      Locks => ['unlock'],
      UserIDs => [1, 12, 455, 32]
      Owner => '123',
      CustomerID => '123',
      CustomerUserLogin => 'uid123',

Vielleicht gehts dann.

Bye,
Robert

Thomas Rother wrote:
Hi,
ich benutze in der GenericAgent.pm einen Job, mit dem ich alle Tickets in der Queue "Junk" automatisch l�schen lassen will. Syntaktisch scheient alles ok zu sein (perl -c GenericAgent.pm gibt OK zur�ck) , der Cronjob l�uft auch (Meldung "Run GenericAgent Job 'loeschen' from config file." im Log), aber es l�scht einfahc nicht. Wo kann ich noch nach dem Fehler suchen?


  # [loeschen] -> Loesche alle Tickets in der Queue  Junk
  # --
  'loeschen' => {
     # get all tickets with these properties
     Queue => 'Junk',
     States => ['new', 'open'],
     Locks => ['unlock'],
     # tickets older then 60 minutes
     TicketCreateTimeOlderMinutes => 60,
     # new ticket properties (no option is required,
     # use just the options which should be changed!)
     New => {
       # DELETE!
       Delete => 1,
    },
   },
   # end of job entry


Gru� & Danke, Thommie


------------------------------------------------------------------------

_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

Antwort per Email an