I want a computer (Debian, XFCE) to shutdown every day at
- a specific time as well as
- a pop-up window in advance telling about the immanent shutdown with, say OK, Skip and Delay 60 min buttons.
xmessage being installed and it gives an easy way to handle rudimentary pop-ups with defined buttons. But the workaround with
sed on the crontab (to alter the event) and
service cron reload (with the appropriate rights in
/etc/sudoers) with all the exceptions I have to capture seems too fiddly.
shutdown's own messages are not being read since the users are usually not on the terminal.