title: Use slurm job id
body: <p>When I launch a computation on the cluster, I usually have a separate program doing the post-processing at the end :</p>
  
  <pre><code>sbatch simulation
  sbatch --dependency=afterok:JOBIDHERE postprocessing
  </code></pre>
  
  <p>I want to avoid mistyping and automatically have the good job id inserted. Any idea? Thanks</p>