This website requires JavaScript.
Explore
Help
Sign In
ai
/
bot
Watch
1
Star
0
Fork
0
You've already forked bot
Code
Actions
Wiki
6e38339228
bot
/
test
/
cron.zsh
8 lines
107 B
Bash
Raw
Normal View
History
Unescape
Escape
v0.1
2023-10-20 14:31:16 +00:00
function
cron
(
)
{
fix
2024-04-02 19:28:56 +00:00
t
=
`
docker ps
|
grep aios
|
grep R
`
v0.1
2023-10-20 14:31:16 +00:00
if
[
-z
"
$t
"
]
;
then
fix
2024-04-02 19:42:06 +00:00
exit
v0.1
2023-10-20 14:31:16 +00:00
fi
fix
2024-04-02 19:42:06 +00:00
docker compose up -d
v0.1
2023-10-20 14:31:16 +00:00
}
Copy Permalink