Exit 1Z0-046 Oracle Database 10g: Managing Oracle on Linux for DBAs
Question 5 of 5
0% complete
Q5 Multiple choice

To gather the various statistics for the database and the operating system (OS) on a Linux machine, you created a script, snap.sh. You want to collect the statistics every day at 6:30 p.m.

To automate the process, you added the following entry in the crontab file as the oracle user:

30 18 *** $ORACLE_BASE/admin/scripts/snap.sh
What changes would you have to do to ensure the successful execution of the snap.sh script?
(Choose all that apply.)

Select all that apply.

  • A

    The user must be assigned the root group.

  • B

    The user should be listed in the /etc/cron. allow file.

  • C

    Set the $PATH shell variable to include the path of the crontab command.

  • D

    Set the ORACLE_HOME and ORACLE_SID environment variables in the snap.sh script.