๋ฐ์ํ
๊ธฐ์กด์ ๋ฆฌ๋ ์ค ์์คํ ์์ crontab์ /etc/cron.* ๋ฐ ์๋ธ ๋๋ ํ ๋ฆฌ์ ์์นํ job ์ ๋ณด๋ฅผ ํฌํจํ๊ณ ์์์ผ๋ฉฐ ๋จธ์ ์ด ์คํ์ค์ผ ๋๋ง ์์ฝ๋ job๋ค์ด ์ ํจํ๊ฒ ์คํ๋๋ ๊ตฌ์กฐ์๋ค. ํ๋์ ์ธ ๋ฆฌ๋ ์ค ์์คํ ์์ ์ฌ์ฉ๋๋ `anacron` ์ ๊ธฐ์กด์ `cron`์ ๋์ฒดํ๋ฉฐ ์์คํ ์ด ๊บผ์ ธ ์์๋๋ผ๋ ์์คํ ๋ถํ ์๊ฐ๊ณผ ๋ง์ง๋ง ์์ ์๊ฐ์ ๊ณ ๋ คํ์ฌ ๋ถํ ๋ ์ดํ๋ก ์์ฝ๋ ์๊ฐ์ด ์ง๋ฌ๋ค๋ฉด ํด๋น ์์ ์ ์คํํ๋ค.
package name
- anacron
key configuration file
- `/etc/anacrontab`
anacrontab ๊ตฌ์ฑ ํ์ผ์ ์๋์ ๊ฐ๋ค.
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
HOME=/root
LOGNAME=root
# These replace cron's entries
1 5 cron.daily run-parts --report /etc/cron.daily
7 10 cron.weekly run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly run-parts --report /etc/cron.monthly
๋ฐ์ํ
'Linux' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Linux Command Shell ์ ํ๋ก์ธ์ค ์์ฑ ๊ณผ์ (0) | 2024.01.10 |
---|---|
ํ๋ก์ธ์ค์ ๋ฉ๋ชจ๋ฆฌ ์ฃผ์ ๊ณต๊ฐ(Virtual Address Space; VAS) (0) | 2023.11.05 |
๋ฆฌ๋ ์ค OS์ ์๋ธ์์คํ (๋ ผ๋ฌธ: Conceptual Architecture of the Linux Kernel) (0) | 2023.11.05 |
Linux Package ๋ฆฌ๋ ์ค ํจํค์ง ๊ฐ์ (0) | 2023.03.08 |
Linux Kernel ๋ฆฌ๋ ์ค ์ปค๋ ๊ฐ์ (0) | 2023.03.08 |