CentOS crontab 설정하기
페이지 정보
작성자 미친새 작성일 20-02-21 16:44 조회 22,994 댓글 0본문
* * * * * root /home/test_crontab.sh
* * * * * su - root /home/test_crontab.sh
*/10 * * * * su - root /home/test_crontab.sh
0 2 * * * su - root /home/test_crontab.sh
vi test_crontab.sh
#!/bin/bash
echo hello world
service tomcat6 stop
운영체제 보기
grep . /etc/*-release
* * * * * su - root /home/test_crontab.sh
*/10 * * * * su - root /home/test_crontab.sh
0 2 * * * su - root /home/test_crontab.sh
vi test_crontab.sh
#!/bin/bash
echo hello world
service tomcat6 stop
운영체제 보기
grep . /etc/*-release
관련링크
댓글목록 0
등록된 댓글이 없습니다.