LPIC-1 Exam 102 v5 (Linux Administrator) — Question 88
Given the following user's crontab entry:
15 14 * * 1-5 /usr/local/bin/example.sh
When will the script /usr/local/bin/example.sh be executed?
Answer options
- A. At 14:15 local time, January till May.
- B. At 15:14 local time, 1st to 5th day of month.
- C. At 14:15 local time, February till June.
- D. At 14:15 local time, 1st to 5th day of month.
- E. At 14:15 local time, Monday to Friday
Correct answer: E
Explanation
The correct answer is E because the crontab entry specifies that the script runs at 14:15 on weekdays (Monday to Friday). Options A, C, and B incorrectly reference specific months or days of the month, while D inaccurately suggests a specific range of days instead of the weekdays.