250x250
반응형
Notice
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 | 31 |
Tags
- non-www
- root
- mysql
- Fail2ban
- vscode
- new user
- LetsEncrypt
- centos
- https
- wordpress
- child theme
- 구글 클라우드
- Xdebug
- Mac
- front page
- Linux
- home page
- php
- Google Cloud
- DOM Parser
- crontab
- Apache
- SSL
- launch.json
- MariaDB
- Liniux
- CentOS7
- html
- git pull
- Certbot
Archives
- Today
- Total
목록crontab (2)
between 0 and 1
[SSL] Auto-renewal SSL on CentOS (let's encrypt, certbot)
To renew ssl automatically, We can use crontab. Step 1. enter crontab edit mode $ sudo crontab -e Step 2. certbot auto-renewal script ## certbot 30 4 * * 0 certbot renew >> /home/log/certbot/cert_$(date +\%Y\%m\%d).log above script will be executed 4:30 AM on every Sunday. and the execution log will be stored in the "/home/log/certbot/" folder.
Software Development Engineering/Dev.Info.
2021. 2. 9. 01:46
리눅스 반복 예약 작업 crontab 요일설정하기
리눅스 반복 예약 작업인 crontab 을 이용하다 보면,요일 마다 반복되는 작업을 걸고 싶을 때가 있다. (서버 재부팅 주기를 설정한다거나...... 백업을 주기적으로 실행한다거나...... ) 할 때 마다 헷갈려서 정리해 놓으려고 한다. crontab 관련된 파일 및 경로들은 아래와 같다 /etc/crontab/etc/cron.d//etc/cron.daily//etc/cron.hourly//etc/cron.monthly//etc/cron.weekly//var/spool/cron/ 위의 경로중 마지막 /var/spool/cron/ 디렉토리에 보면 최종적으로 사용자별 crontab 설정들이 있다.위 경로들을 에디터로 열어서 직접 수정을 해주어도 되고, 간단하게 아래의 명령로도 최종 수정본을 접속하여 수정..
Software Development Engineering/Linux
2018. 7. 20. 14:20