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

Commits on Jun 30, 2018

  1. fea: graceful shutdown

    ...on interrupt signal.
    JensRantil committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    ebf86df View commit details
    Browse the repository at this point in the history
  2. fea: support job count limit

    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 committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    2468bf0 View commit details
    Browse the repository at this point in the history