exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 3 question 15 discussion

Actual exam question from CompTIA's LX0-104
Question #: 15
Topic #: 3
[All LX0-104 Questions]

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

  • A. 0 * * * 30 myscript
  • B. 30 * * * 6 myscript
  • C. 30 0 * * 0 myscript
  • D. 30 0-23 * * 0 myscript
  • E. 0 0-23 * * 30 myscript
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
This crontab entry specifies a command myscript that will run every Sunday at 30 minutes past every hour between the hours of 0 and 23. The minute field is set to 30, so the job will run at 30 minutes past every hour. The hour field is set to 0-23, so the job will run every hour between 0 and 23. The day of the month field and the month field are both set to *, meaning the job will run every day of the month and every month. The day of the week field is set to 0 (Sunday), meaning the job will only run on Sundays. The myscript at the end is the command that will be executed.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago