apache logrotate
0 0 * * * /data2/apachelogs/today.sh 0 20 * * * /bin/rm /data1/apachelog_backup/webtrend/access_log_* #! /bin/sh #apache log rotate LANG=C export LANG today=`date --date '1 day ago' +%Y%m%d` cp /usr/local/httpd/logs/access_log /var/log_dir/access_log_$today cat /dev/null > /usr/local/httpd/logs/access_log cp /usr/local/httpd/logs/error_log /var/log_dir//error_log_$today cat /dev/null > /usr/loca..
linux
2014. 5. 27. 16:37
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- dl20 g9 centos7 설치
- shell connmad log
- 윈도우서버 계정 관려
- oracle linux8 kernel
- 특정 문구 치환
- windows.old 강제삭제
- CentOS 7 GUI
- linux command log
- chrony
- ios ansible
- cmd로 계정 생성
- ansible ios
- vm rac
- cgroup
- 리눅스 커맨드 로그남기기
- ISCSI 볼륨 RAC
- nxos ansible
- dl20
- ipmi
- dl20 centos7
- ILO
- ansible network
- nutanix rac
- centos7 ntp
- kernel 변경
- 특정 라인삭제
- cisco ansible
- 윈도우 cmd 계정 관리
- cmd로 윈도우 계정 관리
- DL20 GEN9 장비에 CentOS 7
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함