Changing The /tmp Cleanup Frequency

Nid: 92
  • Posted on: 2 October 2014
  • By: nayeli
300日で/tmpのファイルを削除するように設定。
$ sudo vim /etc/default/rcS 
TMPTIME=300
TMPTIME=0 # delete files at reboot despite the age of the file.