Hello, On Di, Feb 06, 2007 at 06:44:59 +0100, Marco Friebe wrote:
I want to call a GenericAgent-Job from within another Perl-Script.
I want do do some work in the otrs database (Oracle) and then call that Agent-Job subsequently.
Like it is done for manual job invocation using URL "http://localhost/otrs/index.pl?Action=AdminGenericAgent&Subaction=RunNow&Pro..." but called from commandline (Cron).
It is possible to insert GenericAgent jobs into a file. Per default the file is Kernel/Config/GeneriCAgent.pm If a job is defined there, just call ./bin/GenericAgent.pl and the jobs stored in the GenericAgent.pm file will be executed. Kind regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!