Based on Singlefries script, thanks to him !
Today i give you an auto reboot script with many reboot compatible and ingame message ! ESX compatible
Open server.cfg and start reboot resource once you placed it in your recoures folder.
Change the reboot schedule with the time you want in restart.bat. Choose a full hour, like 12, 6, 15, …
Edit your directory path at the 2nd and 25th line in restart.bat.
Edit the server.lua file in the reboot resource, and change the hours as you want.
Open restart.bat, and keep both windows open.
auto_reboot.rar (1.5 KB)