1
0
bot/test/cron.zsh

8 lines
107 B
Bash
Raw Permalink Normal View History

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