Hi Luis,
On Tue, Mar 25, 2003 at 03:08:37PM -0500, Cisco wrote:
> I'm running OTRS and changed the contents of GenericAgent.pm to
>
> %Jobs = (
> # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
> # --
> # [name of job] -> close and delete all tickets in queue Junk
> # --
> 'junk' => {
> # get all tickets with this properties
> Queue => 'junk',
> States => ['new', 'open'],
> Locks => ['unlock'],
> # new ticket properties (no option is required, use just the
> options
> # which should be changed!)
> New => {
> # DELETE!
> Delete => 1,
> },
> },
>
> Because I want to delete the emails in the Junk default queue.
>
> How does the GenericAgent.pm runs ?
bin/GenericAgent.pl needs to be executed to process your GenericAgent.pm jobs.
> Is it running by default ? Because none of the emails in the Junk queue
> are deleted.
You need to start your otrs cronjobs (suse: "rcotrs start", redhat: "service otrs
start",
other: "bin/Cron.sh start" as otrs user).
See also:
http://www.otrs.org/pages/index.pl?Action=Ext&Site=Docu-CVS/generic-agent.html
http://www.otrs.org/pages/index.pl?Action=Ext&Site=Docu-CVS/cronjob.html
> Luis Vazquez
Martin
--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
Old programmers never die. They just branch to a new address.
_______________________________________________
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