Linux 添加 crontab 定時清理 Oracle 長時間 INACTIVE session if [ ! -d "${HOME}/cront/" ];then mkdir ${HOME}/cront else echo "Do nothing" fi # ${HOME}/cront/ks.sql echo "set trimspool on spool ${HOME}/cront/kil