shutdown
This commit is contained in:
parent
ba6957c84e
commit
5ab8a8def5
2 changed files with 2 additions and 2 deletions
appmanage
|
@ -10,7 +10,7 @@ COPY static ./static
|
|||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisord
|
||||
# Install supervisords
|
||||
RUN apt install -y supervisor
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
|
|
@ -39,7 +39,7 @@ def auto_update():
|
|||
scheduler = BackgroundScheduler()
|
||||
#scheduler.add_job(auto_update, CronTrigger(hour=1, minute=0))
|
||||
scheduler.add_job(auto_update, IntervalTrigger(minutes=1))
|
||||
scheduler.shutdown()
|
||||
#scheduler.shutdown()
|
||||
|
||||
# 获取github文件内容
|
||||
def get_github_content(repo, path):
|
||||
|
|
Loading…
Add table
Reference in a new issue