[mmodify] add localip.sh execution in this script, will executed every hour
This commit is contained in:
parent
77a475b51e
commit
94aba6a154
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user