This commit is contained in:
qiaofeng1227 2023-10-30 15:12:12 +08:00
parent 8fa1ddfa54
commit e87f192641
3 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# modify time: 202310301411, you can modify here to trigger Docker Build action
# modify time: 202310301511, you can modify here to trigger Docker Build action
FROM python:3.10-slim-bullseye
LABEL maintainer="Websoft9<help@websoft9.com>"

View file

@ -1 +1 @@
0 2 * * * /websoft9/script/update.sh
15,20,25 * * * * /websoft9/script/update.sh

View file

@ -1,8 +1,7 @@
#!/bin/bash
echo "$(date) - Compare remote version and local version" | tee -a /var/log/supervisord.log
echo "$(date) - Download remote packages and replace local data" | tee -a /var/log/supervisord.log
bash upgrade_zip.sh --package_name "media.zip" --sync_to "/websoft9/media"
bash upgrade_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"
bash update_zip.sh --package_name "media.zip" --sync_to "/websoft9/media"
bash update_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"