nerdexam
CompTIA

LX0-101 · Question #321

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

The correct answer is E. 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 * * * date<ntp1.digex.net
  • D1 0 * * * /usr/sbin/runcron date <ntp1.digex.net
  • E1 0 * * * /usr/sbin/ntpdate ntp1.digex.net > /dev/null 2>&1

How the community answered

(63 responses)
  • A
    6% (4)
  • B
    3% (2)
  • C
    10% (6)
  • D
    2% (1)
  • E
    79% (50)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice