Start tmux detached because there is no Term in CRON

This commit is contained in:
Stefan Haun 2024-11-03 00:09:46 +01:00
parent 56679fc77f
commit 0f4c916f78

View file

@ -13,7 +13,7 @@ sleep 30
cd /home/pi
echo 'start ampel controller'
tmux new-session -s ampel 'cd /home/pi/netz39_space_notification/raspberry/ledcontrol && ./ledcontrol'
tmux new-session -s ampel -d 'cd /home/pi/netz39_space_notification/raspberry/ledcontrol && ./ledcontrol'
echo 'start lever controller'
tmux new-window -t ampel:1 'cd /home/pi/netz39_space_notification/raspberry/statusswitch && ./statusswitch'