Was macht CRONTAB?

Was macht CRONTAB?

Ist das normal?

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)

Antwort1

Wenn Sie nach Einträgen wie

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

dann ja, sie sind normal -für Debian-basierte Systeme

Aus dem DEBIAN SPECIFICAbschnitt man cron:

Unterstützung für /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly und /etc/cron.monthly wird in Debian durch die Standardeinstellung der Datei /etc/crontab bereitgestellt (siehe das systemweite Beispiel in crontab(5)). Die standardmäßige systemweite Crontab enthält vier Aufgaben: stündlich, täglich, wöchentlich und monatlich ausführen.Jede dieser Aufgaben führt Runparts aus und stellt jedes der Verzeichnisse als Argument bereit. Diese Aufgaben sind deaktiviert, wenn Anacron installiert ist (mit Ausnahme der stündlichen Aufgabe), um Konflikte zwischen beiden Daemons zu vermeiden.

verwandte Informationen