D
D
Dim Boy2015-12-07 21:38:50
linux
Dim Boy, 2015-12-07 21:38:50

How to remove crontab message in auth.log?

In /var/log/auth.log:

CRON[2093]: pam_unix(cron:session): session opened for user root by (uid=0)
CRON[2093]: pam_unix(cron:session): session closed for user root

How to disable or remove from the logs?
Ubuntu 14.04.03 - 16.04

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Zhurkin, 2015-12-08
@twix007

Add to command in crontab >/dev/null 2>/dev/null
Read
www.opennet.ru/docs/RUS/bash_scripting_guide/c1162...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question