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

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Use a scheduler to send staged servermsg warnings, issue a clean save followed by quit, and let the normal launcher, container restart policy, or hosting panel start the server again. This sequence avoids the data-loss risk of killing the process and works on a Windows machine, in Docker, or through a managed host—provided RCON is enabled, protected, and reachable by the scheduler.

The restart sequence that protects the world

An automatic restart is not one command. It is an orchestration sequence with four distinct phases:

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.
  1. Warn players: broadcast messages at known intervals, such as 10, 5, 1, and 0 minutes.
  2. Save the world: send the Project Zomboid save command through RCON or the server console.
  3. Quit cleanly: send quit and wait for the process to exit.
  4. Start normally: rely on the launcher, Docker restart policy, panel task, or host automation to boot the server again.

Do not replace the last two steps with a force kill. The pz-server-tools documentation describes its emergency kill action as an unclean shutdown that can lose or corrupt data. The pz-panel documentation likewise explains that Project Zomboid does not save the world on a generic SIGTERM; its clean-stop path writes quit to the server instead. A Docker stop or a task that terminates the process can therefore leave the world only as current as its last autosave.

Prerequisites and RCON security

Enable and protect RCON

Your scheduler needs an administrative channel. The relevant server settings are RCONPort and RCONPassword. Set a long, unique password, keep the RCON port on localhost or a private network whenever possible, and firewall it from the public internet. If a remote scheduler must connect, allow only its fixed private address or VPN range.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.
  • Store the password in a protected environment variable, secret store, or file readable only by the service account.
  • Do not put the password in a publicly readable batch file, container image, Git repository, panel note, or shared chat message.
  • Use a dedicated RCON account or restricted network path if your tooling supports it.
  • Confirm that your RCON client can send quoted text containing spaces and punctuation; command-line quoting differs between clients.

Confirm the restart owner

Only one mechanism should own the restart. Decide whether Windows Task Scheduler, a container policy, a panel, or a host scheduler will relaunch the server. Running two schedules can produce overlapping warnings, two save commands, or a second start attempt while the first process is still shutting down.

Choose and document a timezone

Write the timezone in the task name and the server runbook, for example “Daily restart — 00:00 Europe/London.” pz-panel containers default to UTC unless TZ is set. Supercraft’s scheduler runs in UTC and requires conversion from local time. GTXGaming documents schedules using the machine’s local hour. Daylight-saving changes can move a local-time restart by an hour unless the scheduler and your written schedule use the same timezone rules.

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

Design a warning schedule players can understand

Pick a restart time, then schedule the first warning early enough to cover the complete countdown. A ten-minute plan for a midnight restart starts at 23:50, not 00:00. Publish the cadence in your server rules so players know whether “restart at midnight” means the first warning or the actual disconnect.

Relative time Message purpose Example broadcast
T−10 minutes Give players time to finish combat, travel, or trading. Server restart in 10 minutes. Please find a safe place.
T−5 minutes Prompt players to finish the current activity. Server restart in 5 minutes. Finish looting and exit safely.
T−1 minute Stop new activities and begin logging out. Server restart in 1 minute.
T−10 seconds Explain the immediate save and disconnect. Restarting now; saving world.
T Run save, then quit. No further player action is required.

You can use fewer or more notices. The important properties are a stated timezone, a predictable first-warning time, and enough time for the clean save and shutdown to complete. Never promise that a countdown is exact to the second if your scheduler polls every 30 seconds or your host queues tasks.

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

Windows self-hosted setup with Task Scheduler

1. Create a notifier and shutdown script

The Steam Community Windows procedure uses a notifier batch file that sends RCON servermsg messages and runs it from a scheduled task. Adapt the following structure to your RCON client. Replace RCON_CMD, host, port, and secret handling with the syntax required by your client; the quoting shown by one client may not work unchanged in another.

@echo off
setlocal
set "RCON_CMD=C:Toolsrcon-client.exe"
set "RCON_HOST=127.0.0.1"
set "RCON_PORT=27015"
rem Read the password from a protected mechanism rather than hard-coding it here.

"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" servermsg "Server restart in 10 minutes. Please find a safe place."
timeout /t 300 /nobreak >nul
"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" servermsg "Server restart in 5 minutes. Finish looting and exit safely."
timeout /t 240 /nobreak >nul
"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" servermsg "Server restart in 1 minute."
timeout /t 50 /nobreak >nul
"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" servermsg "Restarting now; saving world."
timeout /t 10 /nobreak >nul
"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" save
"%RCON_CMD%" -H "%RCON_HOST%" -P "%RCON_PORT%" quit
endlocal

The example is a timing template, not a guarantee that every RCON executable accepts these flags. Test each command interactively first and inspect the response. If your client cannot keep the password out of the command line, use its supported password file or environment-variable option and lock down that file’s NTFS permissions.

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

2. Create the scheduled task

  1. Open Task Scheduler and choose Create Task, not the less-configurable basic wizard.
  2. On General, select an account that can access the RCON client and server files. Choose Run whether user is logged on or not if the machine is unattended.
  3. On Triggers, create a daily trigger for the first warning. For a midnight restart with a ten-minute countdown, set the trigger to 23:50. To repeat twice daily, add a second trigger or use a 12-hour repetition interval, as described by the Steam Community procedure.
  4. On Actions, start the batch file. Set Start in to the directory containing the script so relative paths and logs resolve correctly.
  5. On Conditions, clear sleep-related restrictions if the server must restart while the machine is idle. On Settings, select Do not start a new instance when a previous run is still active.
  6. Run the task manually once with players informed. Confirm every warning, the RCON responses, the clean process exit, and the normal server boot before enabling a recurring schedule.

3. Decide how the server starts again

Task Scheduler can launch a server wrapper after the clean exit, or the existing launcher can remain responsible for starting the process. Do not configure a second launcher unless you have verified that it waits for the old process to exit. A restart task that sends quit but has no start policy will leave the server offline after the first successful shutdown.

About the “24-hour” statement

A 2025 Steam Community guide by Quentin (AKA.HeroineHero) says, “A Project Zomboid server ends by itself after running a total of 24 hours,” and recommends at least two restarts per day. That is a community author’s operational statement, not an official Indie Stone specification or an established universal limit. Treat twice-daily restarts as a scheduling choice, not proof that every server must restart at 24 hours.

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

Docker: automatic updates and restart policies

The project-zomboid-server-docker image provides an entrypoint workflow for mod updates and graceful restarts. These variables are image-specific; check the version of the image you actually run before copying them.

Variable Documented default Effect
MOD_AUTO_UPDATE false Enables the image’s automatic mod-update check.
MOD_AUTO_UPDATE_INTERVAL 60 minutes Interval between update checks.
MOD_AUTO_UPDATE_ANNOUNCE 5 minutes Countdown before an update restart; 0 removes the countdown.
MOD_AUTO_UPDATE_WAIT_EMPTY true Waits for the server to become empty before restarting.
MOD_AUTO_UPDATE_WAIT_MAX 2 hours Maximum time to wait for players to leave.

When the image detects an update, its entrypoint broadcasts an in-game warning, optionally waits for an empty server, sends RCON save and quit, exits cleanly, and relies on the container restart policy to relaunch the boot flow. Setting MOD_AUTO_UPDATE_WAIT_EMPTY=false permits a restart while players remain online; setting MOD_AUTO_UPDATE_ANNOUNCE=0 removes the countdown and should be used only when an immediate maintenance interruption is acceptable.

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

A minimal Compose pattern is:

services:
  zomboid:
    image: your-tested-zomboid-image:version
    restart: unless-stopped
    environment:
      MOD_AUTO_UPDATE: "true"
      MOD_AUTO_UPDATE_INTERVAL: "60"
      MOD_AUTO_UPDATE_ANNOUNCE: "5"
      MOD_AUTO_UPDATE_WAIT_EMPTY: "true"
      MOD_AUTO_UPDATE_WAIT_MAX: "2h"
      TZ: "Etc/UTC"
    secrets:
      - rcon_password

The image name and secret syntax vary by deployment, so preserve your existing image and secret configuration rather than treating this as a copy-and-paste deployment. Verify that the restart policy is active and that the entrypoint, not an external docker kill, controls shutdown. The Docker documentation warns that if RCON is unreachable during an update restart, the graceful save is skipped and the world may be only as current as its last autosave.

Panels and managed hosts

Panels with cron-style schedules

pz-panel uses standard five-field cron expressions. Its restart task broadcasts at 15, 5, and 1 minutes by default, wakes every 30 seconds, and fires each warning once per occurrence. Set TZ explicitly because containers otherwise use UTC. Its clean-stop implementation writes quit to the server rather than relying on docker stop.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

When configuring a panel task, record the expression, timezone, warning offsets, and whether the task waits for an empty server. If a panel offers both “restart” and “force stop,” select the clean restart action. A force stop belongs only in a documented emergency procedure after the normal shutdown has failed.

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

Provider-specific schedules

GTXGaming documents a “Restart with Messages” task with warnings at 10, 5, 2, and 1 minutes, followed by a save, restart, and backup. Host Havoc documents daily or repeating scheduled restart tasks in its control panel. Supercraft’s scheduler runs in UTC and provides an example with servermsg at 15 and 5 minutes, a final restart message, and save immediately before restart.

These controls are provider-specific. Before enabling one, verify the current UI labels, the timezone used by the task, the minimum interval permitted by your plan, whether backups run before or after restart, and what happens when RCON is unavailable. A provider’s “restart” button is safe only if its documentation confirms a Project Zomboid-aware save/quit path.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Safe shutdown, backups, and recovery

Use the clean command order

Send save, wait for a successful response if your client exposes one, then send quit. Do not send quit first and assume the server will flush every pending write. Keep a short delay between the final warning and save so players have time to stop moving and the message is visible.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

Back up before you automate

  • Keep periodic backups of the world, server configuration, and mod list outside the live data directory.
  • Use timestamped backup names and retain more than one generation so a bad save is not your only copy.
  • Run the backup after a confirmed clean shutdown when the host’s documented workflow does so; do not assume a backup taken during a live write is consistent.
  • Log scheduler start time, each RCON command and response, exit code, shutdown duration, and subsequent boot result.

When a restart fails

If warnings appear but the server remains online, inspect the RCON response for save and quit, then check whether another process owns the console. If the process exits but does not return, inspect the launcher or container restart policy. If the task runs at the wrong local time, compare the task timezone with the host/container timezone and daylight-saving rules. If players report missing progress, restore the newest known-good backup rather than repeatedly force-killing the server.

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.

If RCON is unreachable, do not immediately substitute a hard kill. Check that the server is listening on the configured RCONPort, that the password matches, and that the firewall permits the scheduler’s address. For Docker update restarts, remember that the documented fallback may skip the graceful save; schedule regular backups and investigate the connectivity fault before the next update window.

Test the complete path before going live

  1. Clone or select a non-production server with a disposable world.
  2. Enable RCON and verify that a harmless administrative command returns a response from the same machine or network that will run the scheduler.
  3. Run each servermsg command manually and confirm that punctuation, spaces, and quotation marks display correctly in game.
  4. Run save and observe the response and save timestamp. Then run quit and wait for the process to exit normally.
  5. Confirm that the launcher, container policy, or panel starts exactly one new server process.
  6. Check the world after reboot, review logs and backup output, and verify that the task does not overlap when deliberately started twice.
  7. Only then enable the production schedule and announce the timezone and warning cadence to players.

Do not describe a script as working merely because the task reports “completed.” The useful proof is visible warnings, successful RCON responses, a clean exit, a normal boot, and an intact world.

Implementation comparison

Implementation Warning customization Clean-save behavior Waiting for empty server Timezone control Backup/crash handling
Windows Task Scheduler Fully scriptable; any cadence your RCON client supports. Your batch file must send save then quit. Only if the script implements a player-count check. Windows task and machine timezone; document daylight-saving behavior. You must add backups, logs, and a relaunch action.
Docker image entrypoint Image-defined update countdown; announcement can be disabled with MOD_AUTO_UPDATE_ANNOUNCE=0. Entrypoint sends RCON save/quit when reachable. MOD_AUTO_UPDATE_WAIT_EMPTY and MOD_AUTO_UPDATE_WAIT_MAX. Set TZ; otherwise container defaults may be UTC. Restart policy relaunches the container; unreachable RCON can skip graceful save.
pz-panel 15/5/1-minute defaults, with panel-specific customization. Documented clean path writes quit, not raw SIGTERM. Depends on panel task settings. UTC by default; set TZ. Panel and container logs; configure backups separately.
Managed host scheduler Provider-defined; examples range from 10/5/2/1 to 15/5/1 minutes. Confirm the provider’s documented save/restart sequence. Varies by provider and plan. May be local machine time or UTC; verify before scheduling. Some tasks include backups; crash recovery and limits are provider-specific.

Operational checklist

  • RCON is enabled with a unique protected password.
  • The RCON port is private or firewall-restricted.
  • The first warning, actual restart time, and timezone are written in the task name and player notice.
  • The schedule sends staged servermsg warnings, then save, then quit.
  • No force kill, raw SIGTERM, or docker stop is part of the normal path.
  • Exactly one scheduler owns the restart and overlapping runs are prevented.
  • Backups, scheduler logs, RCON responses, and boot results are retained.
  • A non-production test has confirmed the complete warning-to-reboot sequence.

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.