projects
/
zfs-ubuntu
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a36d88
)
Made a simple wrapper script to dump the output to a log file.
author
Alan J. Pippin
<ajp@pippins.net>
Sun, 2 Mar 2008 15:18:06 +0000
(08:18 -0700)
committer
Alan J. Pippin
<ajp@pippins.net>
Sun, 2 Mar 2008 15:18:06 +0000
(08:18 -0700)
zfs-snapshot-totals-cron
[new file with mode: 0755]
patch
|
blob
diff --git a/zfs-snapshot-totals-cron
b/zfs-snapshot-totals-cron
new file mode 100755
(executable)
index 0000000..
e2eb9ed
--- /dev/null
+++ b/
zfs-snapshot-totals-cron
@@ -0,0
+1,8
@@
+#!/bin/bash
+
+snapshot_totals="/usr/local/etc/bin/zfs-snapshot-totals"
+logfile="/var/log/zfs-snapshot-totals.log"
+
+date >> $logfile
+$snapshot_totals >> $logfile
+echo >> $logfile