Server restart script

Me and my friend are running a fabric mc server on a raspberry pi with ubuntu (linux ofc). To maintain performance we want it to automatically restart at like 1 am. Can anybody help me with this?
11 Replies
Marco
Marco•2y ago
I don't know much but look something about crontab in linux There I think you may be able to schedule scripts and such
ProGamingDk
ProGamingDk•2y ago
fabric server
QarthO
QarthO•2y ago
Ah mb lmao U saw nothing. Cron task it is 🙂
KingGoose
KingGooseOP•2y ago
Uh ill try to set it up but will it be able to run commands in the server terminal?
Marco
Marco•2y ago
hmmm don't really know
KingGoose
KingGooseOP•2y ago
Kk Am using screen to get back into the terminal, can i use that instead of making a path from the root? Sry if im asking too much
Marco
Marco•2y ago
I got lost here sorry
KingGoose
KingGooseOP•2y ago
Ok dw ill try to figure it out ty
Kaisiq
Kaisiq•2y ago
add UltimateAutoRestart plugin and create a default restart.sh
ProGamingDk
ProGamingDk•2y ago
fabric how does 0 people read that kek
QarthO
QarthO•2y ago
Ikr lmao, these guys!

Did you find this page helpful?