
Hi Gilles, On Fri, Jun 06, 2003 at 08:39:12AM +0200, gilles.massen@restena.lu wrote:
I have some trouble with the GenericAgent.pl: it regularly stops after treating a certain number of messages. The error is always:
"Modification of non-creatable array value attempted, subscript -1 at /opt/otrs/Kernel/System/Ticket/Article.pm line 473." [...] It seems that it only fails after a treating correctly a rather large number of tickets (possibly around 800). If it is started again, after the failure, it runs again to some extend and stops. So by successive iterations it is possible to finish the job. I'm running OTRS 1.1.1, maybe this is a known/fixed bug?
It's a bug. Is fixed in Kernel/System/Ticket/Article.pm v1.27.2.2. Update it from CVS and it will work.
Still on GenericAgent: is there a possibility to run the program so that it perfomr different tasks at different times? E.g. I'd like to close all tickets in queue1 each 10 minutes, and delete the content of another queue once a day. It seems not possible to call GenericAgent.pl with a different config file, or am I wrong? Any other way to do this?
That's right. It's not possible (implemented).
Best regards, Gilles
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 11:53pm up 122 days, 9:19, 8 users, load average: 0.34, 0.36, 0.25