
On Thursday, March 25, 2004 8:14 PM
Robert Kehl
In other words, the syntax is broken, you clsed the array before the 'close spam' job.
The general structure of a current GenericAgent.pm is as follows: #################### snip #################### package Kernel::Config::GenericAgent; use strict; use vars qw($VERSION @ISA @EXPORT %Jobs); require Exporter; @ISA = qw(Exporter); @EXPORT = qw(%Jobs); $VERSION = '$Revision: 1.7 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/; %Jobs = ( # -- # [job 1 name] -> job 1 description # -- 'job 1 name' => { #job specs }, # -- # [job 2 name] -> job 2 description # -- 'job 2 name' => { #job specs }, # -- # [job 3 name] -> job 3 description # -- 'job 3 name' => { #job specs }, ); 1; #################### snup #################### hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388