mistpe commited on
Commit
b8b8b43
·
verified ·
1 Parent(s): dc5859a

Update background_cleanup.sh

Browse files
Files changed (1) hide show
  1. background_cleanup.sh +4 -0
background_cleanup.sh CHANGED
@@ -1,5 +1,9 @@
1
  #!/bin/bash
2
 
 
 
 
 
3
  while true; do
4
  /app/backend/cleanup.sh
5
  sleep 1800 # 休眠30分钟
 
1
  #!/bin/bash
2
 
3
+ # 确保日志目录存在
4
+ mkdir -p /app/backend/logs
5
+
6
+ # 后台循环脚本
7
  while true; do
8
  /app/backend/cleanup.sh
9
  sleep 1800 # 休眠30分钟