If I understand you correct, I would
a) make a script, that contains the function (with parameter that is) to do all the work.
b) include that script from the "main" script (via run('path/to/script')
c) call that function (a) with the parameters you like.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.