Which entry should be in the root’s crontab file?

You notice that the /var/.dm/messages file has become very large. Typically, this is
managed by a crontab entry. Which entry should be in the root’s crontab file?

You notice that the /var/.dm/messages file has become very large. Typically, this is
managed by a crontab entry. Which entry should be in the root’s crontab file?

A.
10 3 * * * /usr/sbin/logadm

B.
10 3 * * * /usr/sbin/messages

C.
10 3 * * * /usr/adm/messages

D.
10 3 * * * /usr/sbin/syslogrotate

E.
10 3 * * * /usi/sbin/logrotate



Leave a Reply 3

Your email address will not be published. Required fields are marked *


mahoni

mahoni

Answer: A
Explanation:
This example shows how to display the default root crontab file.
$ suPassword:
# crontab -l
#ident “@(#)root 1.19 98/07/06 SMI” /* SVr4.0 1.1.3.1 */ #
# The root crontab should be used to perform accounting data collection.
#
#
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean #10 3 * * *
/usr/lib/krb5/kprop_script ___slave_kdcs___
Reference: Oracle Solaris Administration: Common Tasks, Displaying crontab Files