nerdexam
CompTIA

LX0-101 · Question #318

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

(20 responses)
  • A
    10% (2)
  • C
    85% (17)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice