# { FlowScan stuff:
#
# make the graphs:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * test -f @prefix@/graphs/Makefile && cd @prefix@/graphs && make -s >/dev/null 2>&1
#
# gzip the saved flow files:
2,7,12,17,22,27,32,37,42,47,52,57 * * * * test -d @prefix@/saved && cd @prefix@/saved && @prefix@/bin/locker -ne .gzip_lock "@KSH_PATH@ -c '@LS_PATH@ flows.[0-9]!(*.gz) 2>/dev/null | @XARGS_PATH@ -n1 @GZIP_PATH@'"
#
# Purge the flow files:
# find(1) -mtime +1 was insufficient - I want to delete them as soon as they're
# `n' hours old:
0 * * * * @FIND_PATH@ @prefix@/saved -type f -name 'flows.*' -print |@PERL_PATH@ -e '$now = time; $seconds = 28*60*60; while (<>) { chomp; (@_ = stat $_) && ($now - $_[9] > $seconds) && print $_, "\n" }' |@XARGS_PATH@ @RM_PATH@ -f
# }
