[컴][리눅스] cron

크론 / 크론 명령어 / cron command / crontab / how to use crontab

cron

crontab 편집

crontab -e
각 계정에 해당하는 crontab을 편집할 수 있다. sudo crontab -e 를 하면 root의 crontab을 편집하게 된다.

Timezone 설정

crontab 은 timezone 에 따른 시간으로 움직인다.
sudo timedatectl set-timezone Asia/Seoul  

crontab reload

sudo service cron reload
/etc/init.d/cron reload
sudo systemctl start crond.service

댓글 없음:

댓글 쓰기