你用的是什么版本的操作系统?
系统默认 crond 的日志是直接写入日志文件的,而不是通过 rsyslogd 服务。
可以通过命令 "rpm -qi cronie --list" 查看下 crond 软件包包含的内容:
Quote# rpm -qi cronie --list
Name : cronie
Version : 1.4.11
Release : 19.el7
Architecture: x86_64
Install Date: Tue 05 Jun 2018 03:39:58 PM CST
Group : System Environment/Base
Size : 220396
License : MIT and BSD and ISC and GPLv2+
Signature : RSA/SHA256, Wed 25 Apr 2018 06:56:14 PM CST, Key ID 24c6a8a7f4a80eb5
Source RPM : cronie-1.4.11-19.el7.src.rpm
Build Date : Wed 11 Apr 2018 09:48:23 AM CST
Build Host : x86-01.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : https://github.com/cronie-crond/cronie
Summary : Cron daemon for executing programs at set times
Description :
Cronie contains the standard UNIX daemon crond that runs specified programs at
scheduled times and related tools. It is a fork of the original vixie-cron and
has security and configuration enhancements like the ability to use pam and
SELinux.
/etc/cron.d
/etc/cron.d/0hourly
/etc/cron.deny
/etc/pam.d/crond
/etc/sysconfig/crond
/usr/bin/crontab
/usr/lib/systemd/system/crond.service
/usr/sbin/crond
/usr/share/doc/cronie-1.4.11
/usr/share/doc/cronie-1.4.11/AUTHORS
/usr/share/doc/cronie-1.4.11/COPYING
/usr/share/doc/cronie-1.4.11/ChangeLog
/usr/share/doc/cronie-1.4.11/INSTALL
/usr/share/doc/cronie-1.4.11/README
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8/cron.8.gz
/usr/share/man/man8/crond.8.gz
/var/spool/cron