How to automate running scripts.
654905Jan 4 2011 — edited Jan 5 2011Moved from another forum.
I want to run the following commands on a weekly basis with the Windows Scheduler:
sqlplus / as sysdba
alter database flashback off;
rman target=/
delete noprompt archivelog all;
delete noprompt backup of database;
delete noprompt copy of database;
Not sure how to pass the commands and also make sure the previous command is complete before the next one runs.