1
0
bot/test/cron.zsh
2024-02-19 20:58: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
}