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

fea: support job count limit #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JensRantil
Copy link

Use case: I have 100k items I'd like to process when my system is under low
load. By submitting 100 batch[1] jobs doing

cmdstalk -cmd=my-script.sh -max-jobs 1000

I know processing will halt as soon as load is above 0.8 (or whatever
batch is configured to).

[1] https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-autotasks-at-batch.html

@JensRantil
Copy link
Author

This PR is based off of #8. Let me know if you'd like me to rebase on top of master once #8 has been merged.

...on interrupt signal.
Use case: I have 100k items I'd like to process when my
system is under low load. By submitting 100 `batch`[1] jobs doing

    cmdstalk -cmd=my-script.sh -max-jobs 1000

I know processing will halt as soon as load is above 0.8 (or whatever
`batch` is configured to).

[1] https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-autotasks-at-batch.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant