crontab -l
cd /oracle/sh/monitor
vi clear_bdump_trace.pl
#!/usr/bin/ksh
cd /oracle/admin/hbyydbb/bdump
find ./ -name "*.trc" -exec rm {} \;
crontab -e
##added by fanl to remove the bdump trace
18 13 * * * /oracle/sh/monitor/clear_bdump_trace.pl>/dev/null 2>&1
chmod u+x /oracle/sh/monitor/clear_bdump_trace.pl
zw
ccrontab -l
cd /home/xtjk/monitor
vi clear_bdump_trace.pl
#!/usr/bin/ksh
cd /oracle/app/oracle/admin/hbzwdba/bdump
find ./ -name "*.trc" -exec rm {} \;
crontab -e
##added by fanl to remove the bdump trace
18 13 * * * /home/xtjk/monitor/clear_bdump_trace.pl>/dev/null 2>&1
chmod u+x /oracle/sh/monitor/clear_bdump_trace.pl