crontab -l 查看当前运行的定时任务 crontab -e 进入当前运行的定时任务文件 sql.sh脚本内容为mysqldump -uxxx -pxxx mysql_name > "/usr/t_sql.sql"