mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
rc
This commit is contained in:
parent
e796df82f7
commit
6a348cb994
@ -1,4 +1,4 @@
|
||||
# modify time: 202310301531, you can modify here to trigger Docker Build action
|
||||
# modify time: 202310301631, you can modify here to trigger Docker Build action
|
||||
|
||||
FROM python:3.10-slim-bullseye
|
||||
LABEL maintainer="Websoft9<help@websoft9.com>"
|
||||
|
@ -1 +1 @@
|
||||
15,20,25 * * * * /websoft9/script/update.sh
|
||||
15,20,25,30,35 * * * * /websoft9/script/update.sh
|
@ -1,9 +1,9 @@
|
||||
#!/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
|
||||
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"
|
||||
echo "$(date) - Download remote packages and replace local data." | tee -a /var/log/supervisord.log
|
||||
bash /websoft9/script/update_zip.sh --package_name "media.zip" --sync_to "/websoft9/media"
|
||||
bash /websoft9/script/update_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"
|
||||
|
||||
echo "$(date) - Success to update library and media."
|
Loading…
Reference in New Issue
Block a user