The system administrator wants to check the status of a database every hour. Which of the following crontab entries will ensure that the script runs every hour (on the hour) from 8AM to 5PM, Monday through Friday?

The system administrator wants to check the status of a database every hour. Which of the following crontab entries will ensure that the script runs every hour (on the hour) from 8AM to 5PM, Monday through Friday?Category: Introduction to Linux IIAuthor "LinuxQuestions"The system administrator wants to check the status of a database every hour. Which of the following crontab entries will ensure that the script runs every hour (on the hour) from 8AM to 5PM, Monday through Friday?
Linux Questions Staff asked 1 year ago

The system administrator wants to check the status of a database every hour. Which of the following crontab entries will ensure that the script runs every hour (on the hour) from 8AM to 5PM, Monday through Friday?

  • 00 08-17 * * 1-5 /home/appuser/bin/check-db-status
  • 00 08-05 * * 1-5 /home/appuser/bin/check-db-status
  • 00 08-17 * * 00 /home/appuser/bin/check-db-status
  • 00 08-17 * * 5 /home/appuser/bin/check-db-status

About the author