[otrs] [Ticket #985] Custom Params in static stats module

KIRAN IT kiran1432u at gmail.com
Sat Jul 2 09:42:52 GMT 2011


This is a notification from the Help Desk.




On Jul 02, 2011 @ 03:11 pm, josh at moonfruit.com wrote:
Hi,
 
If I have a static stats module in /opt/otrs/Kernel/System/Stats/Static,
can I pass in a custom parameter via the command line?

I call them using:
/opt/otrs/bin/mkStats.pl -n 10000 -r josh -m "Stats", how can I adapt a
module to take a new parameter?

I know I can use -p to pass a param string (eg User=josh) but what do I
need to add to the Param sub to make use of it?

Thanks,

Josh.
---------------------------------------------------------------------
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

------
This is an automated response.  Your issue has been noted.  We'll be in touch soon.

Please reply to this email or visit the URL below with any additional details.

http://itsupport:1111/portal/view-help-request/985


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.otrs.org/pipermail/otrs/attachments/20110702/79237aa6/attachment-0001.html>


More information about the otrs mailing list