nerdexam
LPI

117-102 · Question #41

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

(57 responses)
  • A
    14% (8)
  • B
    7% (4)
  • C
    2% (1)
  • D
    74% (42)
  • E
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice