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

Help with Cron

Scheduled Pinned Locked Moved pfBlockerNG
2 Posts 2 Posters 932 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.
  • L
    LowHanger
    last edited by Oct 24, 2021, 11:16 PM

    OK, so I feel like a dummy asking this question - seems like it should be a simple concept to understand, but I don't get it.

    In the "General" settings tab, I have Cron setup to run every hour. In the DNSBL->DNSBL Groups tab, I have EVERY feed set to update once per day.

    Two questions...

    (1) I note when setting update frequency for the feeds, there is information which states "This must be within the Cron Interval/Start Hour settings." Does this mean the frequency needs to be less than or equal to the cron frequency I set in the General" tab? If so, the way I have it setup is - apparently - incorrect. It makes no sense to me though - If I want cron to trigger hourly to pick up some feeds that are set to hourly, then how can I have one or more feeds set to daily (as they wound not be within the global cron interval set on the "General " tab)?

    (2) The feeds I have set to 'daily' update - they all try to get updated each hour, despite the fact I have then set to daily update. Any ideas why it's behaving like this?

    I'm guessing I have something mixed-up here, but I can't quite figure it out. Any help you can offer would be appreciated.

    G 1 Reply Last reply Oct 25, 2021, 9:23 AM Reply Quote 0
    • G
      Gertjan @LowHanger
      last edited by Oct 25, 2021, 9:23 AM

      @lowhanger

      To see what cron does : install the pfSense cron package.

      "Hourly" will trigger the pfBlockerNG main update function.
      If a feed is set to daily, then it will upgrade daily, not every hour.

      The other way arround will not work :
      If you set a feed to update every 5 minutes (if that was possible) and the main cron delay is 1 hout, then the "5 minute" won't work.

      Btw : updating every hour a feeds is not needed : check for yoruself : feeds are not updated every hour. Probably not for days ..... More frequent updating can be considered as abusive, and some feed hosts might blacklist your request.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received