조회 수 67305 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

vi /home/cband-reset.sh

 

#!/bin/bash

wget --http-user=아이디 --http-passwd=패스워드 'http://www.싸이트이름.com/cband-status?reset=all&refresh=15&unit='

 

라는 스크립트를 만들어 줍니다.

 

여기에 사용되는 아이디와 패스워드는 .htpasswd 에 사용된 아이디 패스워드 입니다.

 

나머지는 주소는 cband-status 관리자 페이지에서 reset-all 이라는 링크에 마우스 오른쪽 눌러서 링크값 전체를 입력힙니다.

 

crontab -e

 

명령어로 크론을 열어서

 

00 00 * * * /home/cband-reset.sh

 

추가해 주면 매일 자정에 트래픽이 전체 초기화가 됩니다.

?

  1. No Image 20Nov
    by
    2013/11/20 Views 36209 

    #1040 - Too many connections // XE cannot connect to DB. 이런 에러 나올때

  2. #145 - Table './DB/xe_documents' is marked as crashed and should be repaired

  3. No Image 19Feb
    by
    2015/02/19 Views 4098 

    (Owncloud) Error while trying to create admin user: An exception occured in driver: could not find driver 에러 해결

  4. No Image 21Feb
    by
    2012/02/21 Views 93026 

    1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 에러명

  5. No Image 05Jun
    by
    2011/06/05 Views 32240 

    ajaxplorer 서버세팅

  6. No Image 01Jul
    by
    2013/07/01 Views 30693 

    apache2 재시작, 도메인 변경 방법

  7. No Image 16Apr
    by
    2011/04/16 Views 46748 

    apm 버전 확인 명령어

  8. No Image 16Apr
    by
    2011/04/16 Views 43683 

    apm 설치 yum 이용

  9. No Image 16Jul
    by
    2011/07/16 Views 42150 

    autoset6 db 복원 import

  10. No Image 24Jul
    by
    2011/07/24 Views 34028 

    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

  11. No Image 20Feb
    by 자꾸만
    2016/02/20 Views 67305 

    cband-status 자정 초기화 하기

  12. No Image 20Feb
    by
    2016/02/20 Views 2526 

    cband-status 페이지 암호화 하기

  13. No Image 05Dec
    by
    2015/12/05 Views 2914 

    centos 7 apm + vsftpd 설치 스크립트

  14. No Image 04Jan
    by
    2012/01/04 Views 42326 

    centos eaccelerator 설치 방법

  15. No Image 01Jan
    by
    2015/01/01 Views 6067 

    centos mysql-bin.000001 파일 용량 줄이기

  16. No Image 09May
    by
    2012/05/09 Views 46455 

    CentOS RPM 버전 확인 명령어

  17. No Image 04Jan
    by
    2012/01/04 Views 42918 

    centos ZendOptimizer 설치 방법

  18. No Image 09May
    by
    2012/05/09 Views 77103 

    CentOS 버전 확인 lsb_release -a

  19. No Image 02Jan
    by
    2012/01/02 Views 46953 

    centos 서버재시작 shoutdown -r now

  20. No Image 16Apr
    by
    2011/04/16 Views 31116 

    Centos 설치방법

Board Pagination Prev 1 2 3 4 Next
/ 4