1
0
bot/test/cron.zsh

8 lines
108 B
Bash
Raw Normal View History

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