What changes would you have to do to ensure the successful execution of the snap.sh script?

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.)

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.)

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *