rc
This commit is contained in:
parent
8fa1ddfa54
commit
e87f192641
3 changed files with 4 additions and 5 deletions
|
@ -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
|
FROM python:3.10-slim-bullseye
|
||||||
LABEL maintainer="Websoft9<help@websoft9.com>"
|
LABEL maintainer="Websoft9<help@websoft9.com>"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0 2 * * * /websoft9/script/update.sh
|
15,20,25 * * * * /websoft9/script/update.sh
|
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
echo "$(date) - Compare remote version and local version" | tee -a /var/log/supervisord.log
|
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
|
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 update_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 "docker-library.zip" --sync_to "/websoft9/library"
|
Loading…
Add table
Reference in a new issue