Skip to content
Snippets Groups Projects
Commit 661f1f9d authored by Gin Tan (Monash University)'s avatar Gin Tan (Monash University)
Browse files

Removed the /tmp clean-up until the script is sorted

Former-commit-id: 92795eb7
parent 48e3df57
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,9 @@ find /tmp -user ${SLURM_JOB_USER} -name ".esd-*" | xargs rm -rf ...@@ -6,8 +6,9 @@ find /tmp -user ${SLURM_JOB_USER} -name ".esd-*" | xargs rm -rf
find /tmp -user ${SLURM_JOB_USER} -name ".X*-lock" | xargs rm -rf find /tmp -user ${SLURM_JOB_USER} -name ".X*-lock" | xargs rm -rf
find /tmp/.X11-unix -user ${SLURM_JOB_USER} -name "X*" | xargs rm -rf find /tmp/.X11-unix -user ${SLURM_JOB_USER} -name "X*" | xargs rm -rf
# files to be deleted from /tmp after jobs completed
/bin/find /tmp -user ${SLURM_JOB_USER} -type 'f' -print0 | /usr/bin/xargs -0 -r /bin/rm -f
# echo 1 to drop page cache # echo 1 to drop page cache
sync; echo 1 > /proc/sys/vm/drop_caches /bin/sync
/bin/echo 1 > /proc/sys/vm/drop_caches
exit 0
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