Made a simple wrapper script to dump the output to a log file.
authorAlan J. Pippin <ajp@pippins.net>
Sun, 2 Mar 2008 15:18:06 +0000 (08:18 -0700)
committerAlan 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]

diff --git a/zfs-snapshot-totals-cron b/zfs-snapshot-totals-cron
new file mode 100755 (executable)
index 0000000..e2eb9ed
--- /dev/null
@@ -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