RHEL7 systemctl systemd list shutdown jobs (pending)

Sometimes you want to list the jobs you scheduled (reboots) for a Red Hat Enterprise Linux 7 server. This is how you can list the shutdowns:


root@tasus:~# shutdown -r 19:02 "This system will reboot at 19:02 for updates"
Shutdown scheduled for Tue 2016-09-20 19:02:00 CEST, use 'shutdown -c' to cancel.

root@tasus:~# systemctl status systemd-shutdownd.service
● systemd-shutdownd.service - Delayed Shutdown Service
Loaded: loaded (/usr/lib/systemd/system/systemd-shutdownd.service; static; vendor preset: disabled)
Active: active (running) since Tue 2016-09-20 09:53:05 CEST; 15s ago
Docs: man:systemd-shutdownd.service(8)
Main PID: 26416 (systemd-shutdow)
Status: "Shutting down at Tue 2016-09-20 19:02:00 CEST (reboot)..."
CGroup: /system.slice/systemd-shutdownd.service
└─26416 /usr/lib/systemd/systemd-shutdownd

Sep 20 09:53:05 tasus.local systemd[1]: Started Delayed Shutdown Service.
Sep 20 09:53:05 tasus.local systemd[1]: Starting Delayed Shutdown Service...
Sep 20 09:53:16 tasus.local systemd-shutdownd[26416]: Shutting down at Tue 2016-09-20 19:02:00 CEST (reboot)...