diff options
Diffstat (limited to 'usr.sbin/xntpd/scripts/stats/summary.sh')
-rwxr-xr-x | usr.sbin/xntpd/scripts/stats/summary.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.sbin/xntpd/scripts/stats/summary.sh b/usr.sbin/xntpd/scripts/stats/summary.sh index e27ecfa94650d..ab99f4d8e8d5f 100755 --- a/usr.sbin/xntpd/scripts/stats/summary.sh +++ b/usr.sbin/xntpd/scripts/stats/summary.sh @@ -4,9 +4,14 @@ # # This script can be run from a cron job once per day, week or month. It # runs the file-specific summary script and appends the summary data to -# designated files. +# designated files, which must be created first. # -peer.sh >>peer_summary -loop.sh >>loop_summary -clock.sh >>clock_summary - +if ( -e peer_summary ) then + peer.sh >>peer_summary +endif +if ( -e loop_summary ) then + loop.sh >>loop_summary +endif +if ( -e clock_summary ) then + clock.sh >>clock_summary +endif |