# flock should be available on all Linux systems
#-*/1 * * * *    root    if withlock --version &>/dev/null; then echo withlock LOCK-apachestats apachestats-log; else echo apachestats-log; fi
-*/1 * * * *    root    flock -n /var/run/LOCK-apachestats -c apachestats-log

# suppress a common and strange warning message
-*/3 * * * *    root    flock -w 10 -n /var/run/LOCK-apachestats -c apachestats-graph 2>&1  | grep -v "flock: -w: Success" | grep -v "\<horiz\>"
