Generic agent custom module or ticket commands

Moderator: crythias

Locked
shweta
Znuny newbie
Posts: 2
Joined: 20 Mar 2013, 08:20
Znuny Version: 3.2.1

Generic agent custom module or ticket commands

Post by shweta »

Can anybody help me with generic agent custom module and ticket commands with example. I want to execute a external script and I am new to pearl.
Thanks in advance for the help.
shweta
Znuny newbie
Posts: 2
Joined: 20 Mar 2013, 08:20
Znuny Version: 3.2.1

Re: Generic agent custom module or ticket commands

Post by shweta »

If I want to execute a perl script then where should I place the perl file
When I give the name of perl file I get the below error:
Can't exec "genericRunScript.pl": No such file or directory at /opt/otrs/bin/cgi-bin/../../Kernel/System/GenericAgent.pm line 1195.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Generic agent custom module or ticket commands

Post by reneeb »

You should pass the absolute path to the script.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked