diff options
-rwxr-xr-x | stats.pl | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,11 @@ if (!defined($content) || !$content || length $content < 1) { exit 1 } +my $now = `date +%Y%m%d-%H%M%S` +open FH, ">$rrd_path/rrd/scoreboard_$now"; +print FH $content; +close FH; + my @content = split /^-+$/m, $content; shift @content; |