chiark
/
gitweb
/
~mdw
/
rsync-backup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c4098e6
)
check-bkp-status.in: Include day-of-week name in the title.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Mar 2014 09:58:47 +0000
(09:58 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Mar 2014 09:58:47 +0000
(09:58 +0000)
check-bkp-status.in
patch
|
blob
|
blame
|
history
diff --git
a/check-bkp-status.in
b/check-bkp-status.in
index 15afaddc2a30ad040af93731b61f8825c91c5840..6dd3efc91fc307550a73ce77f60180c3da0aaa94 100644
(file)
--- a/
check-bkp-status.in
+++ b/
check-bkp-status.in
@@
-234,7
+234,7
@@
html_header () {
</head>
<body>
</head>
<body>
-<h1><tt>rsync-backup</tt> report: $now</tt></h1>
+<h1><tt>rsync-backup</tt> report: $now
_dow $now
</tt></h1>
EOF
}
EOF
}
@@
-433,6
+433,7
@@
esac
now=$(date +"%Y-%m-%d")
now_time=$(date +"%H:%M:%S %z")
now=$(date +"%Y-%m-%d")
now_time=$(date +"%H:%M:%S %z")
+now_dow=$(date +"%A")
now_jdn=$(julian $now)
. "$conf"
failure_logs
now_jdn=$(julian $now)
. "$conf"
failure_logs