You install oracle database but need to shutdown at night every Friday at 10pm so that you can make backups. How would you achieve this automatically using the crontab utility? Assume that the script that shutdown and backups the database in called backup.sh and located in /opt/scripts
(This assumes the script has execute permissions. If not, then put
If the script is to be run by some user other than
By the way, I highly recommend
Open your crontab with
Now add this line to your crontab file
save and close.