-
Notifications
You must be signed in to change notification settings - Fork 928
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
Limit Multiple Executions #1387
Comments
Hello, In the meantime, you can insert a step before the main one to check Example of such script to check for 800MB of free memory, if not sleep 10 wait=1
done Cordialement, 2015-08-07 2:08 GMT+02:00 jquick [email protected]:
|
I agree +1 |
@mathieuchateau - Thanks for the tip. Is there a way to not error but just stop the job there? Maybe using the new halt somehow? We send emails on errors and would be false to get error tickets when its just skipping due to memory/cap. |
Ah if I change the job to "Step-oriented" I can setup a halt workflow on error. Though it looks like "halt" is still considered an error as far as alerting goes. |
We have a fair amount of jobs that we like to have multiple executions on the same node but we need a cap due to resource constraints.
Having a "Multiple Execution Limit" would allow us to cap a job to x consecutive executions. This will allow the job to grow up to x executions when enough work is required.
Our somewhat workaround is using a external script to call into the API to see how many executions are currently running for the job. This is pretty ugly and something built in would be extremely appreciated. If there is currently a way to do this that we have overlooked please let me know.
Thanks!
The text was updated successfully, but these errors were encountered: