8 lines
108 B
Bash
8 lines
108 B
Bash
|
function cron() {
|
||
|
t=`docker ps |grep aios|grep Up`
|
||
|
if [ -z "$t" ];then
|
||
|
docker compose up -d
|
||
|
fi
|
||
|
exit
|
||
|
}
|