Skip to content

Commit 948ec2f

Browse files
committed
refactor: centralize scheduler initialization and improve logging in job files
1 parent caf89e3 commit 948ec2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/common/job/clean_debug_file_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ def run():
3838
clean_debug_file_job = scheduler.get_job(job_id='clean_debug_file')
3939
if clean_debug_file_job is not None:
4040
clean_debug_file_job.remove()
41-
scheduler.add_job(clean_debug_file, 'cron', hour='*', minute='*/1', second='0', id='clean_debug_file')
41+
scheduler.add_job(clean_debug_file, 'cron', hour='*', minute='*/30', second='0', id='clean_debug_file')
4242
finally:
4343
un_lock('clean_debug_file')

0 commit comments

Comments
 (0)