cron 설정할 때, /etc/crontab 파일은 어디에 쓰나요?

sia79의 이미지
1347
points
-1
points

/etc/crontab 이 파일은 무슨 용도 입니까?

이 파일이 크론(1시간짜리, 매일짜리, 1주일짜리, 1달짜리)을 실행하도록 하는 설정파일인가요? 단지 그뿐인가요?

crontab -e 로 수정해서 등록하면 유저명으로 생기는 파일도 있는데,

크론데몬은 /etc/crontab 파일도 실행하고 유저이름으로 생성된 파일도 실행하는 것인가요?

그리고 페도라5를 쓰는데, cron 이라는 파일은 어디에 있는지 안보입니다;; which, find

bushi의 이미지
6283
points

[bushi@rose fs]$ rpm

1
point

[bushi@rose fs]$ rpm -qa|grep cron
crontabs-1.10-8.fc5
anacron-2.3-42.fc5
vixie-cron-4.1-58.fc5
[bushi@rose fs]$
[bushi@rose fs]$ rpm -qi vixie-cron
Name        : vixie-cron                   Relocations: (not relocatable)
Version     : 4.1                               Vendor: Red Hat, Inc.
Release     : 58.fc5                        Build Date:
Install Date:       Build Host: hs20-bc2-4.build.redhat.com
Group       : System Environment/Base       Source RPM: vixie-cron-4.1-58.fc5.src.rpm
Size        : 629406                           License: distributable
Signature   : DSA/SHA1, 2006년 09월 16일 (토) 오전 01시 06분 36초, Key ID b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : 지정된 시간에 특정 프로그램들을 실행시키는 Vixie cron 데몬.
Description :
The vixie-cron package contains the Vixie version of cron.  Cron is a
standard UNIX daemon that runs specified programs at scheduled times.
Vixie cron adds better security and more powerful configuration
options to the standard version of cron.
[bushi@rose fs]$
[bushi@rose fs]$
[bushi@rose fs]$ rpm -ql vixie-cron | grep bin
/usr/bin/crontab
/usr/sbin/crond
[bushi@rose fs]$

댓글 보기 옵션

원하시는 댓글 전시 방법을 선택한 다음 "설정 저장"을 누르셔서 적용하십시오.