The `tmp:cache:clear` does not affect other caches such as memcached,
since it's basically `rm -rf tmp/cache/*`
ef5d85709d/railties/lib/rails/tasks/tmp.rake (L25-L30)
https://community.openproject.com/wp/27235
pull/6440/head
parent
f231556ca7
commit
143345fbd7
@ -0,0 +1,3 @@ |
||||
APP_NAME="_APP_NAME_" |
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
||||
45 2 * * 7 root ${APP_NAME} run rake -s tmp:cache:clear >> /var/log/${APP_NAME}/cron-clear-tmp-files.log 2>&1 |
Loading…
Reference in new issue