Permalink
Browse files

Ignore stderr when clearing cache files

  • Loading branch information...
JasonBarnabe committed Jul 15, 2018
1 parent 466d81b commit fd701f2bc1f3804f22211e1bccf588c9a92d29f7
Showing with 2 additions and 2 deletions.
  1. +2 −2 shellscripts/clear_cached_pages.sh
@@ -1,2 +1,2 @@
find /www/greasyfork/shared/tmp/cached_pages/ -mmin +60 -type f -delete
find /www/greasyfork/shared/tmp/cached_pages/ -mindepth 1 -type d -empty -delete
find /www/greasyfork/shared/tmp/cached_pages/ -mmin +60 -type f -delete 2>/dev/null
find /www/greasyfork/shared/tmp/cached_pages/ -mindepth 1 -type d -empty -delete 2>/dev/null

0 comments on commit fd701f2

Please sign in to comment.