Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5. Ensure the archive log files are managed and not filling up and stopping the database

a. Logon as root and cd to /usr/local/bin

...

No Format
crontab -e
*/15 * * * * /usr/local/bin/del_arch.sh orcl 0.2 > /tmp/del_arch.txt 2>&1
Note

In a production environment a proper RMAN backup procedure would be used to backup the archive log files before removing them.