nerdexam
Oracle

1Z0-877 · Question #115

You need to set up a cron job that will run the /usr/bin/banner command to display the message System Backups tonight in a console window at 5:00 P.M. each Thursday. Which is the correct cron table…

The correct answer is D. 0 17 * * 4 /usr/bin/banner "System Backups tonight" > /dev/console. See the full explanation below for the reasoning.

Question

You need to set up a cron job that will run the /usr/bin/banner command to display the message System Backups tonight in a console window at 5:00 P.M. each Thursday. Which is the correct cron table entry?

Options

  • A0 5 * * 5 /usr/bin/banner "System Backups tonight" > /dev/console
  • B0 5 * * 4 /usr/bin/banner "System Backups tonight" > /dev/console
  • C0 17 * * 5 /usr/bin/banner "System Backups tonight" > /dev/console
  • D0 17 * * 4 /usr/bin/banner "System Backups tonight" > /dev/console

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    14% (7)
  • C
    8% (4)
  • D
    73% (36)

Community Discussion

No community discussion yet for this question.

Full 1Z0-877 Practice