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