Bootstrap Framework 3.3.6

Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more...

Publish your tools and modifications here.
By Beat
Posts
#6915
Hallo,
ich möchte meine TS3Musibots mittels Cronjob zu einer bestimmten Zeit neu starten lassen.
Ich habe einen Benutzer musicbot angelegt in dessen Homeverzeichniss sich die MusicBots befinden.(/home/musicbot/TS3MusicBot)
Dort liegt mein restartscript mit folgenden Inhalt :

#!/bin/sh

pkill -f 'TS3MusicBot'

sleep 25

cd /home/musicbot/TS3MusicBot/restart.sh

echo "start TechnoBase"
screen -dmS Technobase ./TS3MusicBot_runscript.sh -account xxxxxxxxx -port 8088 -webif-pw xxxxxxx -webif-pw-user xxxxxxx -webif-bind-ip 0.0.0.0

sleep 15

echo "start TranceBase"

screen -dmS TranceBase ./TS3MusicBot_runscript.sh -account xxxxxxxx -port 8089 -webif-pw xxxxxxx -webif-pw-user xxxxxxx -webif-bind-ip 0.0.0.0

sleep 15

echo "start MegaHits"

screen -dmS MegaHits ./TS3MusicBot_runscript.sh -account xxxxxxxxx -port 8086 -webif-pw xxxxxxx -webif-pw-user xxxxxxx -webif-bind-ip 0.0.0.0

xxxxx-steht natürlich für meine Account-Daten

Wenn ich dieses über Putty manuell mit ./restart.sh starte funktioniert alles wunderbar !

Ich lege eine Cronjob an.(crontab -e) dessen Inhalt sieht so aus:

0 5 * * 7 /home/musicbot/TS3MusicBot/restart.sh (enter und speichern)

Dieser wird laut sys.log auch ausgeführt (Dec 20 13:40:01 vmd10561 CRON[18970]: (musicbot) CMD (/home/musicbot/TS3MusicBot/restart.sh)
,die Bots werden auch gekillt aber alles was danach kommt funktioniert nicht.Also die Bots werden nicht gestartet !!
Rechte für das Script sind 755

Wäre nett wenn mir da jemand von euch helfen könnte.Ich denke mal das da was am script nicht passt??!
Es handelt sich hier um Linux-Debian^^

Danke schon mal für eure Hilfe :-)
youtube

Schauen wir uns an.

Der Vollständigkeit halber antworte ich hierz[…]

If nothing from above solves your issue, I can con[…]

Web UI not responding to browser

I tried public IP, LAN IP, and letting it bind to […]

Swap-in out addons, use only what you really need!