男子cron
你应该看到类似的东西
-L loglevel
Sets the loglevel for cron. The standard logging level (1) will
log the start of all the cron jobs. A higher loglevel (2) will
cause cron to log also the end of all cronjobs,which can be
useful to audit the behavIoUr of tasks run by cron. Logging
will be disabled if the loglevel is set to zero (0).
要使用该选项,您可以查看/ etc / default / cron
至少在Debian中它有这样的评论:
# Extra options for cron,see cron(8)
# For example,set a higher log level to audit cron's work
# EXTRA_OPTS="-L 2"
在更改配置文件后,您需要重新启动Cron:
/etc/init.d/cron restart