nerdexam
LPI

117-102 · Question #86

The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. on Monday and Thursday each week is:

The correct answer is C. 0 15,16,17 * * 1,4 chklog. See the full explanation below for the reasoning.

Question

The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. on Monday and Thursday each week is:

Options

  • A0 3,4,5 * * 2,5 chklog
  • B0 3,4,5 * * 1,4 chklog
  • C0 15,16,17 * * 1,4 chklog
  • D0 15,16,17 1,4 * * chklog
  • E
    • 15,16,17 * * 1,4 chklog

How the community answered

(42 responses)
  • A
    10% (4)
  • C
    83% (35)
  • D
    5% (2)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice