public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] report: add `date -R` to general system info section
@ 2023-02-23 15:51 Lukas Wagner
  2023-03-27 12:40 ` [pbs-devel] applied: " Wolfgang Bumiller
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wagner @ 2023-02-23 15:51 UTC (permalink / raw)
  To: pbs-devel

Sometimes it can be quite useful to know when exactly a system report
was generated. Adds the following output:

 # date -R
 Thu, 23 Feb 2023 16:21:12 +0100

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
 src/server/report.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/server/report.rs b/src/server/report.rs
index 274d622c..cbad15f7 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -21,6 +21,7 @@ fn files() -> Vec<&'static str> {
 fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
     vec![
         //  ("<command>", vec![<arg [, arg]>])
+        ("date", vec!["-R"]),
         ("proxmox-backup-manager", vec!["versions", "--verbose"]),
         ("proxmox-backup-manager", vec!["subscription", "get"]),
         ("df", vec!["-h"]),
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-27 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 15:51 [pbs-devel] [PATCH proxmox-backup] report: add `date -R` to general system info section Lukas Wagner
2023-03-27 12:40 ` [pbs-devel] applied: " Wolfgang Bumiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal