Skip to content

Instantly share code, notes, and snippets.

@miyamae
Created November 29, 2014 17:41
Show Gist options
  • Save miyamae/2155fecc69802c59cc2c to your computer and use it in GitHub Desktop.
Save miyamae/2155fecc69802c59cc2c to your computer and use it in GitHub Desktop.
大量のファイルを夜中にひっそり消すwhenever
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