苏泽湛 发表于 2018-8-28 07:42:59

shell脚本删除分区

  #!/bin/bash
  source /etc/profile
  source ~/.bash_profile
  #################################
  #00 01 * * * /bin/bash /utxt/soft/tools/rm_oracle.sh >>/utxt/soft/tools/rm_oracle.log 2>&1
  #################################
  lyd_rm_dt=`date -d "-5 day" +%Y%m%d`
  flow_rm_dt=`date -d "-5 day" +%Y%m%d`
  echo "start time: `date +"%Y-%m-%d %H:%M:%S"`"
  sqlplus rdjk/czty_rdjk@test
页: [1]
查看完整版本: shell脚本删除分区