diff --git a/clean_jobs.sh b/clean_jobs.sh index 80e0b809..f3fecd70 100755 --- a/clean_jobs.sh +++ b/clean_jobs.sh @@ -1,7 +1 @@ -find /home/openreview/openreview-expertise/jobs/*/archives -prune -type d -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/mfr -prune -type d -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/specter -prune -type d -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/sub2vec.jsonl -prune -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/metadata.json -prune -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/submissions.json -prune -mtime +2 -exec rm -r {} \; -find /home/openreview/openreview-expertise/jobs/*/pub2vec.jsonl -prune -mtime +2 -exec rm -r {} \; +find /home/openreview/openreview-expertise/jobs/* -prune -type d -mmin +1440 -exec rm -r {} \; \ No newline at end of file diff --git a/clean_tmp.sh b/clean_tmp.sh index 2eb2c50a..838e2104 100755 --- a/clean_tmp.sh +++ b/clean_tmp.sh @@ -1 +1 @@ -find /tmp/tmp* -prune -type d -mtime +0.168 -exec rm -r {} \; +find /tmp/tmp* -prune -type d -mmin +240 -exec rm -r {} \;