Commit message

This commit is contained in:
support.sampyo 2024-05-30 06:37:40 +00:00
parent 02a44e8478
commit 696cc6f0e8
2 changed files with 4 additions and 1 deletions

View File

@ -7,5 +7,5 @@ spec:
virtualEnv: base # 사용할 가상환경 이름입니다. virtualEnv: base # 사용할 가상환경 이름입니다.
package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.) package: requirements.txt # 설치할 Python 패키지 정보 파일입니다.(기본 값은 requirement.txt 입니다.)
stackbase: stackbase:
tagName: v0.0.35 # Stackbase(gitea)에 릴리즈 태그명 입니다. tagName: v0.0.36 # Stackbase(gitea)에 릴리즈 태그명 입니다.
repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다. repoName: sampyo-dio # Stackbase(gitea)에 저장될 저장소 이릅니다.

View File

@ -249,6 +249,9 @@ def runAction():
time_str = now.strftime('%H') time_str = now.strftime('%H')
time_int = int(time_str) time_int = int(time_str)
with open('./control.json', 'r') as f:
cmd = json.load(f)
if time_int == int(cmd['maintenance']['clean']['time']): if time_int == int(cmd['maintenance']['clean']['time']):
if clean_flag < 3: if clean_flag < 3:
clean_flag += 1 clean_flag += 1