You are not logged in.

Kathy

Intermediate

  • "Kathy" started this thread

Posts: 523

Location: München

Occupation: Infrastructure Admin

wcf.user.option.userOption53: Ja

  • Send private message

1

Friday, August 6th 2010, 3:51pm

Crons zum restarten

Vorab hier die info in kurz: CSS -> startscript -> neusstarten -> restart geht anscheinend nicht -> um 5 uhr -> google verwendet, dort dieses ergebnis.

Würde das stimmen?

Source code

1
2
3
4
crontab -e
m hr dom mon dow command 
00 5 * * * ~/run.sh stop server
01 5 * * * ~/run.sh start server


keks ?
"outage driven infrastructure" ~Nameless friend, ca. 2018

rain

Super Moderator

Posts: 1,410

Location: Lutherstadt Wittenberg

Occupation: Anlagenmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

2

Friday, August 6th 2010, 6:01pm

Re: Crons zum restarten

so schauen die Crons bei uns aus! Ich verwende an sich nur restart anstatt stop und dann wieder den server zu starten

Source code

1
2
3
4
0 5 * * * cd /home/css && ./run.sh restart 27015
0 5 * * * cd /home/css && ./run.sh restart 27016
0 5 * * * cd /home/css && ./run.sh restart 27017
0 5 * * * cd /home/css && ./run.sh restart 27018





Kathy

Intermediate

  • "Kathy" started this thread

Posts: 523

Location: München

Occupation: Infrastructure Admin

wcf.user.option.userOption53: Ja

  • Send private message

3

Friday, August 6th 2010, 10:09pm

Re: Crons zum restarten

restart funktioniert entweder nicht oder er startet so schnell ( :D ) wieder neu das HLSW es nicht sieht.
"outage driven infrastructure" ~Nameless friend, ca. 2018

rain

Super Moderator

Posts: 1,410

Location: Lutherstadt Wittenberg

Occupation: Anlagenmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

4

Friday, August 6th 2010, 11:39pm

Re: Crons zum restarten

also bei uns geht der restart recht fix von statten so das hlsw mir nur eine sehr kurze downtime anzeigt! Das wird wohl daran liegen dass das script den prozess sofort killt und dann gleich neustartet und da man dann diese 10 sec wait Time nicht mehr hat!