Skip to content

Commit

Permalink
fix: cron
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 22, 2024
1 parent feec05e commit b3f17c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR=$(dirname $(readlink -f $0))
cd $WORKDIR

# 停止 Docker Compose
/usr/local/bin/docker-compose down
/usr/local/bin/docker-compose down --remove-orphans --volumes

# 重新启动 Docker Compose
/usr/local/bin/docker-compose up -d >> ./cron.log 2>&1
Expand Down

0 comments on commit b3f17c7

Please sign in to comment.