How to Install and Uninstall shutdown-at-night Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "shutdown-at-night" package

This guide covers the steps necessary to install shutdown-at-night on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install shutdown-at-night

2. Uninstall "shutdown-at-night" package

This tutorial shows how to uninstall shutdown-at-night on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove shutdown-at-night $ sudo apt autoclean && sudo apt autoremove

3. Information about the shutdown-at-night package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: shutdown-at-night
Priority: optional
Section: universe/misc
Installed-Size: 30
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Edu Packaging Team
Architecture: all
Version: 0.16
Depends: cron | cron-daemon, ethtool, fping, ng-utils, wakeonlan, x11-utils, perl
Recommends: nvram-wakeup
Suggests: sitesummary (>= 0.0.41)
Filename: pool/universe/s/shutdown-at-night/shutdown-at-night_0.16_all.deb
Size: 8424
MD5sum: cffd9a5593247d6a0b557314d2b42ee6
SHA1: 86770af411084dbaf7d2d9a1ebbd9fc90b01070d
SHA256: 620d93228ea3811c6f68a5e408d6906c114146465f83cf5a7c2ee899b4386958
Description-en: System to shut down clients at night, and wake them in the morning
With this tool you can schedule regular shutdowns of workstations in the
evening, and also wake them up every morning, using either nvram-wakeup, ACPI
wakeup or wake-on-lan.
.
For the wake-on-lan wake-up sequence you need one awake machine on your local
network / subnet. This can be a server machine or a client machine that got
just previously woken up by nvram-wakeup.
.
The shutdown sequence will be initiated hourly after 4pm via a CRON job.
However, only machines that appear inactive / unused will be shut down.
Machines that are currently in use will remain up and running.
.
The Shutdown-at-Night tool can be activated via a config file or via
membership in a NIS netgroup called shutdown-at-night-hosts.
Description-md5: 56d637309b39caca8e8f93fdaf54da0a
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu