From: Alan J. Pippin Date: Sun, 2 Mar 2008 15:18:06 +0000 (-0700) Subject: Made a simple wrapper script to dump the output to a log file. X-Git-Url: http://git.pippins.net/embedvideo/images/%24link?a=commitdiff_plain;h=3ed5069345d5a034fb488b0650f63007ce762ab9;p=zfs-ubuntu%2F.git Made a simple wrapper script to dump the output to a log file. --- diff --git a/zfs-snapshot-totals-cron b/zfs-snapshot-totals-cron new file mode 100755 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