Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux 8 で、ユーザー cron ジョブに対して多くのメッセージが出力される

Solution Unverified - Updated -

Issue

  • Red Hat Enterprise Linux 8 で、1 分ごとに実行される cron ジョブに対して多くのメッセージが生成されました。
  • 以下はサンプルになります。
crond[1237]: (tester) RELOAD (/var/spool/cron/tester)
systemd[1]: Created slice User Slice of UID 1000.
systemd[1]: Started /run/user/1000 mount wrapper.
systemd[1]: Starting User Manager for UID 1000...
systemd[1]: Started Session 64 of user tester.
systemd[3162]: pam_unix(systemd-user:session): session opened for user tester by (uid=0)
systemd[3162]: Listening on Multimedia System.
systemd[3162]: Listening on Sound System.
systemd[3162]: Reached target Paths.
systemd[3162]: Started Mark boot as successful after the user session has run 2 minutes.
systemd[3162]: Reached target Timers.
systemd[3162]: Starting D-Bus User Message Bus Socket.
systemd[3162]: Listening on D-Bus User Message Bus Socket.
systemd[3162]: Reached target Sockets.
systemd[3162]: Reached target Basic System.
systemd[3162]: Starting Sound Service...
systemd[1]: Started User Manager for UID 1000.
CROND[3176]: (tester) CMD (/home/tester/test.sh)
systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
systemd[1]: Stopping User Manager for UID 1000...
systemd[3162]: Stopped Sound Service.
systemd[3162]: Stopped target Basic System.
systemd[3162]: Stopped target Sockets.
systemd[3162]: Closed Multimedia System.
systemd[3162]: Closed D-Bus User Message Bus Socket.
systemd[3162]: Stopped target Timers.
systemd[3162]: Stopped Mark boot as successful after the user session has run 2 minutes.
systemd[3162]: Stopped target Paths.
systemd[3162]: Closed Sound System.
systemd[3162]: Reached target Shutdown.
systemd[3162]: Starting Exit the Session...
systemd[1]: user@1000.service: Killing process 3181 (systemctl) with signal SIGKILL.
systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
systemd[1]: Stopped User Manager for UID 1000.
systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
systemd[1]: Removed slice User Slice of UID 1000.
systemd[1]: Stopping /run/user/1000 mount wrapper...
systemd[1]: Stopped /run/user/1000 mount wrapper.
  • cron ジョブは 1 分ごとに実行されるため、ログファイル内でメッセージのフラッディングが発生する可能性があります。

Environment

  • Red Hat Enterprise Linux 8

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