Skip to content
Snippets Groups Projects
Commit 1331ad86 authored by Moe Jette's avatar Moe Jette
Browse files

Make job hold example more clear

parent 76ec635c
No related branches found
No related tags found
No related merge requests found
...@@ -588,10 +588,10 @@ task on the second node.</p> ...@@ -588,10 +588,10 @@ task on the second node.</p>
(e.g. place it into a <i>hold</i> state)?</b></a><br> (e.g. place it into a <i>hold</i> state)?</b></a><br>
The easiest way to do this is to change a job's earliest begin time The easiest way to do this is to change a job's earliest begin time
(optionally set at job submit time using the <i>--begin</i> option). (optionally set at job submit time using the <i>--begin</i> option).
The example below places a job into hold state (preventing its start The example below places a job into hold state (preventing its initiation
until 10 January 2020 at noon) and later permitting it to start now.</p> for 30 days) and later permitting it to start now.</p>
<pre> <pre>
$ scontrol update JobId=1234 StartTime=2020-01-10T12:00:00 $ scontrol update JobId=1234 StartTime=now+30days
... later ... ... later ...
$ scontrol update JobId=1234 StartTime=now $ scontrol update JobId=1234 StartTime=now
</pre> </pre>
...@@ -1147,6 +1147,6 @@ fi ...@@ -1147,6 +1147,6 @@ fi
<p class="footer"><a href="#top">top</a></p> <p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified 22 January 2009</p> <p style="text-align:center;">Last modified 18 February 2009</p>
<!--#include virtual="footer.txt"--> <!--#include virtual="footer.txt"-->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment