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

Jobs commands #1497

Merged
merged 6 commits into from
Mar 13, 2018
Merged

Jobs commands #1497

merged 6 commits into from
Mar 13, 2018

Conversation

noirbizarre
Copy link
Contributor

This PR adds some commands to handle jobs:

  • udata job schedule to schedule jobs
  • udata job scheduled to list scheduled jobs
  • udata job unschedule to unschedule jobs

Job commands are now tested

# No scheduled jobs
```

Because a job can be scheduled multiple time with different parameters,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/time/times/

@click.argument('params', nargs=-1, metavar='<arg key=value ...>')
def unschedule(name, params):
'''
Unschedule the job <name> with the given given parameters.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double given

@noirbizarre noirbizarre merged commit 4ae3df1 into opendatateam:master Mar 13, 2018
@noirbizarre noirbizarre deleted the jobs-commands branch March 13, 2018 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants