
これは正常ですか?
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ベースのシステム向け
DEBIAN SPECIFIC
のセクションからman cron
:
Debian では、/etc/crontab ファイルのデフォルト設定により、/etc/cron.hourly、/etc/cron.daily、/etc/cron.weekly、/etc/cron.monthly のサポートが提供されています (crontab(5) のシステム全体の例を参照)。デフォルトのシステム全体の crontab には、毎時、毎日、毎週、毎月実行する 4 つのタスクが含まれています。これらの各タスクは、各ディレクトリを引数として提供して実行部分を実行します。anacron がインストールされている場合、両方のデーモン間の競合を防ぐために、これらのタスクは無効になります (1 時間ごとのタスクを除く)。