CompTIA Linux+ (XK0-004) — Question 272

An administrator is setting up a script named script.sh to be executed daily at 3:15 a.m. Which of the following is the correct way to define this in crontab?

Answer options

Correct answer: D

Explanation

The correct option is D because it specifies that the script should run at 15 minutes past 3 o'clock every day. Option A is incorrectly formatted for the time specification, while options B and C do not match the required order for the crontab fields.