Sarg reports with frequency 1d



  • Hi,

    I configured Sarg to create reports every day but there is no report created.
    From System Logs

    Jan 9 00:00:00 php: sarg.php: [sarg] Force refresh now with args, compress(). 
    

    I think it's because there is a cron job for squid to rotate log at the same time

    0       0       *       *       *       root    /usr/pbi/squid-amd64/sbin/squid -k rotate -f /usr/pbi/squid-amd64/local/etc/squid
    0       0       */1     *       *       root    /usr/local/bin/php --no-header /usr/local/www/sarg.php 0
    

    As a workaround I set frequency to 4h to create enought reports.
    Thanks in advance for your help


Log in to reply