Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 332 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 332 Bytes

LogTab

a simple clear logs tool base on golang

First Step

config the file: conf.yaml

  1. [fp] The file directory to be cleared
  2.  [logs] The keywords of the files to be cleared
  3. [trigger] Cleanup cycle     interval:cycle value unit: cycle unit (day/hour/minutes/second)

Second Step

compile & run CronTab.go