
1 Nov
2010
1 Nov
'10
1:05 p.m.
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.