Cloud & DevOps · Question 28 · Hard

When does a cron job with the schedule 30 2 * * 1 run?

  1. At 02:30 every Monday
  2. At 02:30 on the 1st of every month
  3. Every 30 minutes during hour 2 on Mondays
  4. At 01:02 on the 30th of every month
Answer and explanation

Answer: A. At 02:30 every Monday

Explanation: The cron fields are minute, hour, day of month, month and day of week. Minute 30, hour 2, any day of month, any month and day of week 1 (Monday) mean 02:30 every Monday.

Previous: A request must pass through a web server and then a database server, and both… · Next: What does this shell pipeline print?

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge