sbatch: store queued status

This commit is contained in:
Rodrigo Arias 2021-04-15 18:59:03 +02:00
parent 2151e20bd6
commit bde54c69c5

View File

@ -97,6 +97,7 @@ stdenv.mkDerivation rec {
cat > $out/run <<EOF
#!/bin/sh -e
${slurm}/bin/sbatch ${nixPrefix}$out/job
echo queued > status
EOF
chmod +x $out/run
'';