DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

How to Set Up Automatic Restarts with Warnings on a 7 Days to Die Server

A practical guide to warning players, saving the world, shutting down cleanly, and restarting a 7 Days to Die server automatically on Linux, Windows, or managed hosting.
Length10 min Posted Quest giverVGSources Team

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The safest automatic restart is a short, announced maintenance sequence: warn players at about five minutes, warn again at one minute, run saveworld, wait for the save to finish, issue shutdown, and let your service, panel, container, or watchdog start the server again. This prevents players from being surprised and avoids interrupting a world write.

What the restart sequence should do

A restart scheduler should coordinate two separate jobs: the game-server shutdown and the process supervisor’s startup. The game server must close cleanly; the supervisor must then launch it again. Scheduling only a process kill is unsafe because it can interrupt a world write.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The documented sequence for 7 Days to Die is:

  1. Choose a maintenance time in the server’s configured local timezone and publish it to players.
  2. About five minutes before maintenance, send an in-game warning such as say "Server restarts in 5 minutes - finish your run.".
  3. At about one minute remaining, send say "Restart in 60 seconds.".
  4. Run saveworld to flush the world to disk.
  5. Wait briefly for the save to complete. The 7 Days To Die Wiki guide specifies approximately 10 seconds.
  6. Run shutdown for a clean server exit.
  7. Have systemd, a hosting panel, a container supervisor, or another watchdog start the server process again.

saveworld manually flushes the world to disk, while shutdown saves and exits cleanly. Killing the operating-system process can interrupt a write, so an automated job should never substitute a forced kill for the in-game shutdown.

Plan the maintenance window before configuring anything

Use one clearly defined timezone

Pick a low-activity window and state the timezone in the server rules, community announcement, and any status page. A schedule that says “daily at 04:00” without a timezone will shift for players in other regions and can shift again when daylight-saving rules change. Use the timezone configured on the machine or hosting panel as the source of truth, and make the player-facing announcement explicit.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Avoid events and blood-moon sessions

Do not place a recurring restart over a group’s regular event, expedition, or blood-moon session. The five-minute message is a warning, not a guarantee that players can finish a long activity. After the final warning, players should stop starting quests, vehicle trips, building operations, or other actions that depend on uninterrupted uptime.

Set a deferral policy

If your management layer can check player count, configure it to delay maintenance while players are active. Add a maximum deferral, however, so a busy server does not postpone maintenance indefinitely. A delayed run should be logged and announced rather than silently skipped.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no universal, scientifically established best restart interval. Daily restarts may suit a small private server, while a busier community may choose a less frequent window. Select an interval based on activity, update practice, and the time needed for maintenance, then keep the warning schedule consistent.

Configure telnet administration

The Linux procedure described by the 7 Days To Die Wiki uses the server’s telnet administration socket. Telnet settings are in serverconfig.xml. The relevant entries are TelnetEnabled, TelnetPort, and TelnetPassword.

  • Enable telnet with TelnetEnabled.
  • Set a port with TelnetPort. The guide gives 8081 as the default example, but you must verify the value against the installed release.
  • Set a strong TelnetPassword and keep it out of public documentation and chat.

Restart or reload the game server after changing configuration if the installed release requires it. Confirm that the scheduler connects to the same address and port shown in the active configuration; do not assume that every host or release uses 8081.

Protect the administration socket

Restrict telnet access to the scheduler host or a private management network when your hosting environment permits it. Do not expose an administration port to the public internet without an access-control plan. Store the password in a protected secret or environment variable rather than embedding it in a world-readable script.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Linux: build a scheduler around a wrapper script

A reliable Linux setup has three layers: a wrapper that connects to telnet and sends the game commands, a service or watchdog that owns the server process, and a systemd timer that starts the maintenance job at the chosen time. Cron can run the same wrapper, but the guide notes weaker failure logging and no equivalent to systemd’s Persistent=true behavior for missed runs.

1. Define the wrapper’s responsibilities

The wrapper should authenticate to telnet, send the five-minute warning, wait until the one-minute point, send the final warning, issue saveworld, wait for completion, issue shutdown, and return a meaningful success or failure status. The exact telnet client and connection-handling code depends on the distribution and hosting image, so treat the implementation as an adapter to your environment rather than copying an unverified script.

Conceptually, its command order is:

  1. Open the configured telnet socket and authenticate with TelnetPassword.
  2. Send say "Server restarts in 5 minutes - finish your run.".
  3. Wait until the one-minute warning point.
  4. Send say "Restart in 60 seconds.".
  5. Send saveworld.
  6. Wait approximately 10 seconds, or use a completion signal if your management layer provides one.
  7. Send shutdown.
  8. Exit with a status that systemd can record in its journal.

Log connection failures, authentication failures, command-send failures, and the final exit status. If authentication fails, the wrapper must not continue as though the save and shutdown succeeded.

2. Connect the wrapper to the server supervisor

The process supervisor should be responsible for starting the game server after a clean shutdown. In a systemd deployment, the game server normally has a service unit with its working directory, executable, user, and restart policy. The maintenance wrapper should request the in-game shutdown; it should not call kill -9 or otherwise terminate the process forcibly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure the service’s restart behavior for the way your installation exits. Some administrators prefer a supervisor that restarts whenever the server exits; others use a separate post-shutdown start action. Whichever model you choose, ensure that a normal shutdown leaves the service in a state that the supervisor can start again, and check the journal for the resulting transition.

3. Add a systemd timer

Create a oneshot service for the wrapper and a timer that triggers it at the maintenance time. The timer’s calendar expression must use the machine’s timezone unless you explicitly include a timezone in the expression. A conceptual unit contains:

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
  • A oneshot service whose ExecStart points to the executable wrapper.
  • A timer with an OnCalendar value for the chosen daily or weekly window.
  • Persistent=true when you want systemd to run a missed timer after the host comes back online.

Use the installed unit names and file paths from your distribution. After creating or changing units, reload systemd, enable the timer, and inspect its next-run value. A typical verification flow is:

  1. Reload unit files with systemctl daemon-reload.
  2. Enable the timer so it starts at boot with systemctl enable --now <maintenance-timer>.
  3. Check the calculated schedule with systemctl list-timers.
  4. Review wrapper output with journalctl -u <maintenance-service>.

Replace angle-bracketed names with the unit names you actually created. Run a controlled maintenance attempt during a quiet period before making the schedule recurring, and verify that the server supervisor starts the process afterward. The documented procedure is a guide, not a claim that a particular unit file has been tested on your host.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows and managed hosting

Windows scheduled tasks

On Windows, use Task Scheduler or the provider’s scheduled-task feature to run the same logical sequence. The task must be able to reach the server’s telnet interface or management API, send both warnings, perform saveworld, allow time for the save, and send shutdown. Configure the game-server service or panel to start the process after the clean exit.

Run the task under an account with permission to execute the wrapper and read its protected credentials. Configure a history or output log so a failed connection is visible instead of looking like a successful restart.

Managed panels

Some providers offer daily scheduled restarts directly. Host Havoc describes daily scheduled restarts, while WinterNode recommends scheduled tasks and notes that CSMM or ServerTools can supply in-game warnings. WGS documents daily warning messages at 10, 5, and 1 minutes for 7 Days to Die.

Panel labels and restart behavior change over time, so confirm whether the panel performs a clean in-game shutdown or simply stops the process. If it only stops the process, use a command-capable integration for saveworld and shutdown, or choose a panel workflow that explicitly supports clean shutdown.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Choose a management approach

Option Warning mechanism Save and shutdown handling Who restarts the process Best fit
Custom telnet script with systemd or cron Scripted say commands Explicit saveworld, then shutdown systemd or the host supervisor Linux administrators who want direct control
CSMM Scheduled commands, broadcast templates, and player-count-aware triggers Configured commands Host or service layer Administrators who prefer a web UI
ServerTools Built-in countdown Mod handles the countdown and save External service Modded servers already using ServerTools
7dtdServerUpdateUtility Configurable in-game, Discord, and Twitch announcements Clean shutdown and update workflow Utility or watchdog Servers combining updates with restarts
WGS or another hosting panel Provider-defined warnings; WGS documents 10-, 5-, and 1-minute warnings Panel-managed Provider platform Hands-off hosting

CSMM

CSMM’s documented feature set includes scheduled commands, broadcast templates, and triggers that can take player count into account. You still need to verify what command the host uses for a clean shutdown and how the host starts the process afterward.

ServerTools

ServerTools documentation says it begins a warning countdown, saves at one minute remaining, and automatically begins the shutdown process when its configured time is reached. It also states that ServerTools cannot automatically restart a server. You therefore need an external service, panel, or watchdog for startup.

7dtdServerUpdateUtility

7dtdServerUpdateUtility documents scheduled restarts, manual or countdown announcements, clean shutdown, watchdog restart behavior, and notices through Discord, Twitch, and in-game channels. It is suited to administrators who want update operations and restarts in one workflow.

Container images and image-specific settings

The RunOnFlux image exposes FLUX_RESTART_TIME for a daily restart and FLUX_RESTART_WARN_MINUTES for chat warnings. Its documented defaults include five minutes and a repeated one-minute warning. These variables belong to that image; they are not universal 7 Days to Die settings. Check the image documentation and make sure its shutdown hook performs a clean game-server exit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Warning design that players can act on

Five-minute message

Use a short message that states the action and the deadline: say "Server restarts in 5 minutes - finish your run." It tells players to stop beginning activities that cannot be completed safely.

One-minute message

The final warning should be unambiguous: say "Restart in 60 seconds." Do not bury it in a long announcement or combine it with unrelated chat.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Optional longer countdowns

A panel or mod may offer 10-, 5-, and 1-minute announcements, as WGS documents. More warnings can help a public server, but they should not replace the final save-and-shutdown sequence. Keep the messages consistent so players learn the routine.

Verification checklist

  • The published maintenance time includes the server’s local timezone.
  • The telnet port, password, and enabled state match the active serverconfig.xml.
  • The wrapper authenticates successfully and records failures.
  • The five-minute and one-minute messages appear in game.
  • saveworld is issued before shutdown and receives enough time to finish.
  • shutdown is used instead of an operating-system kill.
  • The supervisor or panel starts the server again after exit.
  • The timer’s next run and timezone are correct.
  • A journal, panel history, or task log records both the maintenance job and the subsequent server start.

Troubleshooting common failures

Players see no warning

Check that the wrapper connected to the correct host and telnet port, that telnet is enabled, and that authentication succeeded. Confirm that the task actually ran at the expected local time. A successful scheduler invocation does not prove that the game command was accepted.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The world does not save before shutdown

Confirm that saveworld precedes shutdown and that the wrapper waits for completion. The guide’s approximate 10-second wait is a baseline, not a guarantee for every world or host. If saves take longer on your installation, increase the delay or use a completion indication supplied by your management layer.

The server stays offline after maintenance

Inspect the supervisor log and the maintenance job’s exit status separately. The game may have shut down correctly while the restart layer was disabled, pointed at the wrong unit, blocked by permissions, or configured not to start after a normal exit. Correct the startup responsibility in the supervisor or panel rather than changing the game command sequence.

The timer runs at the wrong hour

Compare the timer’s timezone with the timezone communicated to players. Check daylight-saving changes and the host’s clock. A missed-run policy such as systemd’s Persistent=true can intentionally run a job after downtime; decide whether that behavior is appropriate for your server and explain it to administrators.

Maintenance is repeatedly deferred

If a player-count trigger is enabled, inspect its threshold and maximum deferral. A busy server needs a defined cutoff so maintenance eventually occurs. Announce the deferred window when the trigger moves it, rather than leaving players to infer what happened.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Safe operating policy

Keep the schedule predictable, publish it in the community’s normal channels, and reserve emergency restarts for incidents that cannot wait. Treat warnings as a player-safety feature and clean shutdown as a data-integrity requirement. Recheck panel, utility, mod, container, and game-server documentation after upgrades because labels, defaults, and command behavior can change between releases.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.