• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

To teraz pora na mnie Autorestart

Status
Not open for further replies.

loleslav

Banned User
Joined
Dec 5, 2008
Messages
173
Reaction score
0
Location
Poland,Kraków
No to pora na mnie

Elf
Hmm może tak nie łapie się zabardzo w specyfikaci TFS'a
Mogł byś mi objaśnić jak ustawić aby tfs sie sam restartowal np.o 3 w nocy patrzac na Twoj skrypt
http://otland.net/f118/linux-debian-like-theforgottenserver-www-control-25726/

mógł bym to zrobić ale chcem aby się wywolywal automatycznie save

A to nie wiem jak wywolać

Hmm mógł bym ustawić automatycznie
np
Code:
 save)
        echo -n "Saving theforgottenserver data: "
        killall -HUP theforgottenserver
        echo "done."
        ;;
  kill)
        echo -n "Killing theforgottenserver: "
        killall -KILL theforgottenserver
        echo "done."
        ;;
  start)
        echo -n "Starting theforgottenserver: "
        cd $2 && screen -AdmS ./theforgottenserver
        echo "done."
        ;;
i ustawic to jako autostart o 3 w nocy tylko robiac maly edit

Jak myślisz zadziala??
 
ustaw sobie najlepiej globalsave w configu na 3:00 i zadanie crona na boot o 3:05.

A moglbys wyjasnic jak tego crona na boot ustawic??;p ja jestem troche zielony w linuxie i jako tako sobie radze z tym ale kazda nowa rzecz to dla mnie czarna magia ;o

z gory dzieki ;]
 
Przecież mówiłeś, że się nie znam... Więc nie napiszę. Ale może Ty spróbujesz?
 
Żartuje. Nie ma potrzeby. Chyba że chcesz to napisz o tym cronie.
 
Status
Not open for further replies.
Back
Top