projects
/
zfs-ubuntu
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added fatal_and_exit routine to handle all early exits out of the script
[zfs-ubuntu/.git]
/
zfs-snapshot-totals-cron
1
#!/bin/bash
2
3
PATH=/usr/sbin:/sbin:/etc/bin:$PATH
4
5
snapshot_totals="zfs-snapshot-totals"
6
logfile="/var/log/zfs/zfs-snapshot-totals.log"
7
8
date >> $logfile
9
$snapshot_totals >> $logfile
10
echo >> $logfile
11