摘要: 增加定时任务,每天凌晨1点执行 vi /etc/crontab 0 1 * * * root /bin/bash /root/xxx/xxx/xxx.sh 脚本内容(xxx.sh): #!/bin/bash yesday=$(date -d "2 day ago" +%Y%m%d) cd /root 阅读全文
posted @ 2022-11-07 15:26 布兰姥爷 阅读(197) 评论(0) 推荐(0) 编辑