Translated message

A translation of this page exists in English.

Cron.daily 中的作业不是由 anacron 或 run-parts 来执行的

Solution In Progress - Updated -

Issue

  • 我们在 /etc/cron.daily 中有一个 cron 作业,该作业预计每天执行一次。
  • /etc/cron.daily 中的作业根本不运行。
  • 以下是来自 /var/log/cron 的日志:
run-parts(/etc/cron.hourly)[32217]: starting 0anacron
anacron[32229]: Anacron started on 2018-08-27
run-parts(/etc/cron.hourly)[32231]: finished 0anacron
anacron[32229]: Will run job `cron.daily' in 27 min.
anacron[32229]: Jobs will be executed sequentially
...
anacron[32229]: Job `cron.daily' started
anacron[32229]: Job `cron.daily' terminated

注意:每行的日期、时间和主机名标题都被删除。

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content