What is the correct job format to execute /usr/local/bin/daily_backup hourly from 9 a.m. to 6 p.m. on weekdays?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Prepare for the Red Hat Certified Architect Exam with our comprehensive quiz. Master your skills with multiple choice questions and detailed explanations. Gear up to excel!

The correct format to execute the script /usr/local/bin/daily_backup hourly from 9 a.m. to 6 p.m. on weekdays is demonstrated by the choice that specifies the minute, hour range, days of the month, month, and day of the week appropriately.

In this instance, the configuration needed is as follows:

  • Minute: It is set to 00, meaning that the job will run at the top of the hour.
  • Hour: Defined as 09-18, which specifies every hour from 9 a.m. to 6 p.m. inclusive.
  • Day of month: The asterisk (*) implies that it applies to all days of the month.
  • Month: The asterisk (*) also indicates that it applies to all months.
  • Day of the week: It is limited to Mon-Fri, which ensures that the job will only run on weekdays.

This configuration ensures that the script runs at 9:00 a.m., 10:00 a.m., 11:00 a.m., and so forth, until 6:00 p.m. on the days specified.

In contrast, the other options do not fit the requirements properly,

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy