Skip to content

tommy5198/watchlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watchlog
===

set crontab(exec each day):
 - ./config.sh init
crontab should add following lines :
     0 0 * * * /your_dir/watchlog.sh
     0 0 * * * /your_dir/backup.sh
check it via 'crontab -l'

remove crontab:
 - ./config.sh remove

exec all log:
 - ./watchdog.sh

exec individualy:
 - ./script/*.sh

log save in dir by exec date
ex: 20141113/*.log

backup usage:
 - ./backup.sh

backup save by exec date
ex: 20141113.tar.gz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages