Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sarg reports with frequency 1d

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 570 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DomiX
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.