nerdexam
LPI

102-350 · Question #141

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

The correct answer is D. 1 0 * * * /usr/sbin/ntpdate ntp1.digex.net> /dev/null 2>&1. See the full explanation below for the reasoning.

Question

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

Options

  • A1 0 * * * date $d$t$24
  • B1 0 * * * settime $d$t$24
  • C1 0 * * * /usr/sbin/runcron date <ntpl.digex.net
  • D1 0 * * * /usr/sbin/ntpdate ntp1.digex.net> /dev/null 2>&1
  • E1 0 * * * date<ntpl.digex.net

How the community answered

(26 responses)
  • B
    4% (1)
  • C
    15% (4)
  • D
    77% (20)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice