#!/bin/bash
# 10 23 * * * /bin/bash /data/script/backup_mysqldump.sh
BDATE=`date +%Y%m%d%H%M%S`
BPATH=/data/backup
LOGFILE=${BPATH}/log_${BDATE}.log
mysqldump -uroot -pchengce243 -S /var/lib/mysql/mysql.sock trade_history -P3306 --single-transaction > ${BPATH}/trade_history_${BDATE}.sql
echo > ${LOGFILE}
for tfile in $(find $BPATH/ -mtime +7)
do
if [ -d $tfile ];then
rm -rf $tfile
elif [ -f $tfile ];then
rm -rf $tfile
fi
echo -e "---- Delete backup file: $tfile ------" >> ${LOGFILE}
done
echo -e "
====== Backup Jobs end at `date +%F' '%T' '%w` =====
">> ${LOGFILE}
意图识别及槽填充联合模型的改进 cnn-self-attention
意图识别及槽填充联合模型cnn-seq2seq
cnn-residual用于意图识别
centos 8 上配置asp.net core 5
WPF自定义控件
jdk 动态代理源码分析
在windows上构建angular项目 (下)
在windows上构建angular项目 (上)
"名字好难想队“团队项目