CRONTAB은 무엇을 하고 있나요?

CRONTAB은 무엇을 하고 있나요?

이게 정상인가요?

pi@RaspberryGate:~ $ grep CRON /var/log/syslog
Jul 28 06:17:04 RaspberryGate cron[370]: (CRON) INFO (pidfile fd = 3)
Jul 28 06:17:04 RaspberryGate cron[370]: (CRON) INFO (Running @reboot jobs)
Jul 28 06:34:14 RaspberryGate CRON[678]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Jul 28 06:17:04 RaspberryGate cron[368]: (CRON) INFO (pidfile fd = 3)
Jul 28 06:17:04 RaspberryGate cron[368]: (CRON) INFO (Running @reboot jobs)
Jul 28 06:47:41 RaspberryGate CRON[644]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Jul 28 06:17:04 RaspberryGate cron[371]: (CRON) INFO (pidfile fd = 3)
Jul 28 06:17:04 RaspberryGate cron[371]: (CRON) INFO (Running @reboot jobs)
Jul 28 07:16:24 RaspberryGate CRON[728]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Jul 28 07:17:01 RaspberryGate CRON[860]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 28 08:17:01 RaspberryGate CRON[2090]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

답변1

다음과 같은 항목에 대해 묻는 경우

Jul 28 06:34:14 RaspberryGate CRON[678]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))

그럼 네, 정상이에요 -데비안 기반 시스템용

DEBIAN SPECIFIC섹션 에서 man cron:

/etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly 및 /etc/cron.monthly에 대한 지원은 데비안에서 /etc/crontab 파일의 기본 설정을 통해 제공됩니다(시스템 전체 참조) crontab(5)의 예). 기본 시스템 전체 crontab에는 매시간, 매일, 매주, 매월 실행이라는 네 가지 작업이 포함되어 있습니다.이러한 각 작업은 각 디렉터리를 인수로 제공하는 실행 부분을 실행합니다.. 두 데몬 간의 충돌을 방지하기 위해 anacron이 설치된 경우(시간별 작업 제외) 이러한 작업은 비활성화됩니다.

관련 정보