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

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

parent 1474dab1
No related branches found
No related tags found
1 merge request!130Dropping cache on epilog & prolog
......@@ -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/.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
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