Skip to content

Commit

Permalink
fix: 日志切割脚本没有单引号
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jan 14, 2025
1 parent 0eae148 commit 3f83119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/data/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH
# 耗子面板 - 日志切割脚本
# 执行切割
panel-cli cutoff website -n %s -p %s
panel-cli cutoff clear -t website -f %s -s %d -p %s
panel-cli cutoff website -n '%s' -p '%s'
panel-cli cutoff clear -t website -f '%s' -s '%d' -p '%s'
`, req.Target, req.BackupPath, req.Target, req.Save, req.BackupPath)
}
if req.Type == "shell" {
Expand Down

0 comments on commit 3f83119

Please sign in to comment.