Which crontab entry could be used to set the system time at regular intervals?

Which crontab entry could be used to set the system time at regular intervals?

Which crontab entry could be used to set the system time at regular intervals?

A.
1 0 * * * /usr/sbin/runcron date <ntp1.digex.net

B.
1 0 * * * settime $d $t $24

C.
1 0 * * * date $d $t $24

D.
1 0 * * * date<ntp1.digex.net

E.
1 0 * * * /usr/sbin/ntpdate ntp1.digex.net > /dev/null 2>&1



Leave a Reply 1

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


peanuttech

peanuttech

Answer is E)
runcron is suspect
settime is suspect

sbin is the primary directory of executable commands on the system.