1
0
bot/test/cron.zsh

8 lines
104 B
Bash
Raw Normal View History

2024-02-17 08:35:49 +00:00
function cron() {
t=`docker ps |grep "ai bot"`
if [ -z "$t" ];then
docker compose up -d
fi
exit
}