1
0
bot/test/cron.zsh
2024-02-18 15:12:24 +09:00

8 lines
104 B
Bash

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