1
0
bot/test/cron.zsh

8 lines
104 B
Bash
Raw Normal View History

2023-10-20 14:31:16 +00:00
function cron() {
t=`docker ps |grep "ai bot"`
if [ -z "$t" ];then
docker compose up -d
fi
exit
}