Created
November 29, 2014 17:41
-
-
Save miyamae/2155fecc69802c59cc2c to your computer and use it in GitHub Desktop.
大量のファイルを夜中にひっそり消すwhenever
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
every 1.day, at: '3:00 am' do | |
command 'if [ -e /tmp/flushed_cache.* ]; then ionice -c 2 -n 7 nice -n 19 rm -rf /tmp/flushed_cache.*; fi' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment