Re: GenerticAgent does not work (OTRS4)

Leonardo Certuche <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <CAG67U_Ts4x89xuum1FJ-_gePjdJY2fm=ASB7A1Ex92-XL+SKJw@mail.gmail.com>
Hello,

There are two kind of Generic Jobs: CLI based and DB based. If you check
your OTRS cronjobs, you'll find there two different entries:

*/20 * * * *    $HOME/bin/otrs.GenericAgent.pl >> /dev/null
*/10 * * * *    $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null

So probably the only thing that you are missing is the "-c db" bit


On 25 December 2016 at 07:19, Ml Ml <[email protected]> wrote:

> Hello List,
>
> i am running OTRS4 and i set up a Generic Agent in the Web GUI.
>
> If i (dry) run this job in the Web Gui, it finds 10 Matching Tickets.
> If i run the following on the command line, it does not find any ticket
> match:
>
> otrs:~# su - otrs
> otrs@otrs:~$ $HOME/bin/otrs.GenericAgent.pl
> Job: 'send escalation notifications'
> otrs@otrs:~$
>
> Does someone have a hint/idea?
>
> Thanks,
> Mario
>
>
> p.s. Debug mode does not show much either:
>
> otrs@otrs:~$ $HOME/bin/otrs.GenericAgent.pl -d
> Job: 'send escalation notifications'
> otrs@otrs:~$
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.