Closed billglick closed 4 months ago
https://github.com/ncsa/puppet-profile_update_os/blob/c87c045aab327d3045f36b7b558877217442e818/manifests/scheduled_reboot.pp#L67
Can we get a timestamp on when this message gets displayed?
[user@host ~]# This server (host.internal.ncsa.edu) will be updated and rebooted in 24 hours. [user@host ~]#
In sessions that are mostly idle, it would be helpful to know when that message was sent so that the user has a better idea of when this is happening.
Ideally it would actually say something like:
This server (host.internal.ncsa.edu) will be updated and rebooted in 24 hours at 2024-05-08 06:00 CDT.
Which should be possible by referencing the following:
$(date -d '+48 hours')
$(date -d '+24 hours')
$(date -d '+1 hour')
This is essentially a duplicate #24.
https://github.com/ncsa/puppet-profile_update_os/blob/c87c045aab327d3045f36b7b558877217442e818/manifests/scheduled_reboot.pp#L67
Can we get a timestamp on when this message gets displayed?
In sessions that are mostly idle, it would be helpful to know when that message was sent so that the user has a better idea of when this is happening.
Ideally it would actually say something like:
Which should be possible by referencing the following:
$(date -d '+48 hours')
$(date -d '+24 hours')
$(date -d '+1 hour')