Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- management
- Software Engineering
- Malaysia
- hadoop
- ubuntu
- programming_book
- Kuala Lumpur
- web
- MySQL
- leadership
- django
- Java
- RFID
- Python
- Book review
- comic agile
- Artificial Intelligence
- France
- Linux
- essay
- history
- Italy
- QT
- hbase
- Book
- Programming
- Spain
- program
- agile
- erlang
Archives
- Today
- Total
목록crontab (2)
crontab 잊기 쉬운 점
10분마다 실행*/10 * * * * something 실행 경로 및 로그 경로는 절대 경로 사용 연속 명령은 ;나 &&로 연결 log에 날짜 남길 때 \ 사용 잊지 말 것(없으면 동작 안 함)* * * * * echo 'test' > /some/directory/path/log.`date +\%Y-\%m-\%d-\%H-\%M-\%S`.log* * * * * echo 'test' > /some/directory/path/log.$(date +\%Y-\%m-\%d-\%H-\%M-\%S).log cron 동작 살펴보고 싶으면# tail -f /var/log/cron
Programming
2013. 2. 28. 09:27
failed to restart hbase because of time synchronization
Missing time synchronization, scm console cannot start properly. Because of time sync, I installed ntpdate like below; 2011/10/07 - [Programming] - CentOS: time syncronization in local network / setting timezone However time sync is broken after 2 months. So, to prohibit this problem, I wrote 'crontab' on every server. 0 0 * * * /sbin/ntpdate [ntp server] > /dev/null 2>&1
Programming/Hadoop
2011. 12. 9. 07:42