mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
rc
This commit is contained in:
parent
e796df82f7
commit
6a348cb994
3 changed files with 6 additions and 6 deletions
|
@ -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 a new issue