Skip to content
Snippets Groups Projects
Commit c378ac7c authored by Jafar Lie's avatar Jafar Lie
Browse files

updated epilog with cleanup task

Former-commit-id: 2cc57eeb
parent 69b607b4
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,9 @@ XUNIXFILENAME="X"$XSESSION ...@@ -25,6 +25,9 @@ XUNIXFILENAME="X"$XSESSION
find /tmp/ -name $XLOCKFILENAME -exec rm -rf {} \; find /tmp/ -name $XLOCKFILENAME -exec rm -rf {} \;
find /tmp/.X11-unix -name $XUNIXFILENAME -exec rm -rf {} \; find /tmp/.X11-unix -name $XUNIXFILENAME -exec rm -rf {} \;
# Now we clean up
rm -rf /home/${SLURM_JOB_USER}/.vnc/xorg-${SLURM_JOB_ID}
# echo 1 to drop page cache # echo 1 to drop page cache
/bin/sync /bin/sync
/bin/echo 1 > /proc/sys/vm/drop_caches /bin/echo 1 > /proc/sys/vm/drop_caches
......
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