Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Shutdown AlerterNew to Visual Studio Code? Get it now.
Shutdown Alerter

Shutdown Alerter

Preview

JamesBattersby

|
143 installs
| (1) | Free
Alerts about shutdown and restart events
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shutdown Alerter

Shutdown Alerter is a little extension for VSCode that monitors /run/systemd/shutdown/scheduled looking for scheduled shutdown and reboot event.

If an event is found, a notification dialog is displayed, along with a status bar notification message giving the type of event and the scheduled time.

Motivation

When ssh'd in to a Linux machine, if a shutdown or reboot event is triggered there is a broadcast notification is shown on the ssh terminal. However, if connected via VSCode the notification isn't shown. This extension monitors the shutdown schedule file and provides a notification.

File Format

The expected format of the notification file is:

USEC=1563976800000000
WARN_WALL=1
MODE=reboot

Anything other than this is not supported.

Example modal

Example Modal

Example notification

Example Notification

Settings

Setting Description Default
schedulePath Path to the systemd shutdown schedule directory /run/systemd/shutdown/
scheduleFile The systemd shutdown file schedule
modalNotification Use a modal dialog for notifications true
popUpNotifications Use pop up notifications true
useStatusBar Show notifications in the status bar true

Icons

Man with megaphone: https://pixabay.com/vectors/loudspeaker-man-boy-holding-1459128/

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft