[mmodify] add localip.sh execution in this script, will executed every hour

This commit is contained in:
gitea 2023-07-05 20:57:44 +08:00
parent 77a475b51e
commit 94aba6a154

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
/usr/bin/bash /opt/scripts/update/localip.sh
docker ps -a --format "table {{.Names}}\t{{.Status}}" > /opt/logs/docker_status.log docker ps -a --format "table {{.Names}}\t{{.Status}}" > /opt/logs/docker_status.log
while read line; do while read line; do
echo $line | grep -q 'Exited' echo $line | grep -q 'Exited'