Hey Leute,
ich habe versucht heute mal einen Cronjob zu erstellen, und dabei hab ich folgende datei erstellt:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
killall srcds_run
killall srcds_amd
cd /home/eg/csswar1/
screen -A -m -d -S csswar1 ./srcds_run -game cstrike +map de_dust2 -maxplayers 10 -tickrate 100 -ip 78.46.81.52 -port 27015 -autoupdate
cd /home/eg/csswar2/
screen -A -m -d -S csswar2 ./srcds_run -game cstrike +map de_dust2 -maxplayers 10 -tickrate 100 -ip 78.46.81.52 -port 27030 -autoupdate
cd /home/eg/cssgungame/
screen -A -m -d -S cssgunegame ./srcds_run -game cstrike +map gg_lego_arena -maxplayers 24 -tickrate 100 -ip 78.46.81.52 -port 27045 -autoupdate
cd /home/eg/cssfun/
screen -A -m -d -S cssfun ./srcds_run -game cstrike +map de_dust2 -maxplayers 24 -tickrate 100 -ip 78.46.81.52 -port 27035 -autoupdate
echo Restart erfolgreich!
|
Aber immer wenn ich diese Datei öffnen will (mit ./restart.sh ) kommt:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
./restart.sh
: no process killed
: no process killed
: command not found3:
: No such file or directoryhome/eg/csswar1/
: command not found5:
: command not found7:
: No such file or directoryhome/eg/csswar2/
: command not found9:
: command not found11:
: No such file or directory/home/eg/cssgungame/
: command not found13:
: command not found15:
: No such file or directory/home/eg/cssfun/
: command not found17:
: command not found19:
Erfolgreich gerestartet!
|
Betriebssystem ist: Debian 4.0 Etch 32Bit
Vielen Dank für eure Antworten.
Mfg Paddy