Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom params for tron runs from tronctl #208

Open
yarrrtem opened this issue Mar 13, 2013 · 0 comments
Open

Support custom params for tron runs from tronctl #208

yarrrtem opened this issue Mar 13, 2013 · 0 comments

Comments

@yarrrtem
Copy link

Something like this:

tronctl start my_favourite_job date='2013-01-01'

.. but for any custom variable like..

tronctl start my_favourite_mr_job jobconf='cpu-intensive.conf'

Then in the actual job definition, you would specify the variable usage, and a default for the scheduled runs.

run_vars:

  • jobconf: 'standard.conf'
    actions:
  • my_favourite_job --jobconf=%(RUN_VARS:jobconf) --date=%(shortdate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant