Исправление
sdio,
(текущая версия)
:
screen -ls roottest || screen -d -m -S roottest watch -n 5 /root/tests.sh
Исправление
sdio,
:
screen -ls roottest && screen -d -m -S roottest watch -n 5 /root/tests.sh
Исходная версия
sdio,
:
screen -ls | grep -q roottest && screen -d -m -S roottest watch -n 5 /root/tests.sh