automatic restart [SOLVED]
-
- Posts: 33
- Joined: Thu 7. Apr 2022, 19:16
automatic restart
I want to make my server restart every day at 2 in the morning, using scheduled tasks, it asks me for a command, I put reboot, sudo reboot, and it gives me an error, what command could I use?
Re: automatic restart
You are not using Windows.
Why do you want to restart so often?
Why do you want to restart so often?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: automatic restart [SOLVED]
The correct syntax is
Code: Select all
/sbin/reboot
Gruß,
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: automatic restart
And why sbin?
Re: automatic restart
Code: Select all
# which reboot
/usr/sbin/reboot
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: automatic restart
Gruß,
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- BasHeijermans
- KeyHelp Translator
- Posts: 159
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: automatic restart
Why?PuntonetSvb wrote: ↑Thu 13. Oct 2022, 19:20 I want to make my server restart every day at 2 in the morning, using scheduled tasks, it asks me for a command, I put reboot, sudo reboot, and it gives me an error, what command could I use?
We Linux users are proud to show our uptimes, the longer the better.
We never reboot unless is absolutly needed, something like this is our goal:
Code: Select all
16:06:35 up 83 days, 2:57, 1 user, load average: 1,58, 1,70, 1,72
Greetings Bas.
Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.