"/home/oracle/admin/ops/arch_del.sh" 9 lines, 170 characters
#!/bin/bash
. /home/oracle/.profile
l_status=`rman target sys/H2oiswater <
delete force noprompt archivelog UNTIL TIME 'sysdate-1/24' like '/arch/2%';
exit;
!
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27042095/viewspace-752057/
,如需转载,请注明出处,否则将追究法律责任。