-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[question] How to set a timeout value for a batch job? #4423
Comments
For now, there is no way to do that directly in Nomad. What the folks usually recommend is using timeout and minor scripting to achieve the same. HTH, |
@shantanugadgil How to use a timeout minor scripting? For example? Thank you! |
@molin0000 We currently don't have support for killing batch jobs based on a timeout, like @shantanugadgil mentions. To do this yourself you have two options:
|
Closed in favor of #1782 |
Coreutils' timeout(1) command could be handy. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
How to set a timeout value for a batch job?
I want to limit the job max run time , how can I set the batch job's timeout value?
The text was updated successfully, but these errors were encountered: