备份脚本时间问题
This commit is contained in:
parent
c9fb12b2d7
commit
2e9fd6658d
@ -76,7 +76,7 @@ fi
|
||||
cat > "${path}/backup.sh" << EOF
|
||||
#!/bin/bash
|
||||
declare date_time=$(date +"%Y_%m_%d") # 日期格式
|
||||
declare year=$(date +"%Y") #年份
|
||||
declare year=\$(date +"%Y") #年份
|
||||
source "${path}/venv/bin/activate"
|
||||
|
||||
for item in "$web_path"/*; do
|
||||
|
Loading…
Reference in New Issue
Block a user