Skip to content

Commit 0d561c5

Browse files
Adding out and err path into home hidden file, so that PBS can copy them somewhere
1 parent 97b27cc commit 0d561c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

batchspawner/batchspawner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,8 @@ class PBSSpawner(TorqueSpawner):
490490
#PBS -l walltime={{runtime}}
491491
#PBS -l select=1:ncpus={{nprocs}}:mem={{memory}}
492492
#PBS -N jupyterhub-singleuser
493+
#PBS -o {{homedir}}/.jupyterhub.pbs.out
494+
#PBS -e {{homedir}}/.jupyterhub.pbs.err
493495
#PBS -v {{keepvars}}
494496
{% if options %}#PBS {{options}}{% endif %}
495497

0 commit comments

Comments
 (0)