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

    Troble setting cron

    pfBlockerNG
    4
    14
    1.9k
    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.
    • B
      battles
      last edited by

      I have tried to set the cron settings to update the pfBlockerNG list at 0700.  It is apparently not working and continues to update at 0000.  I take my machine down at night, so I have to manually update it daily.  Here is my setup:

      cron2.png_thumb
      cron2.png
      cron.png
      cron.png_thumb

      pfSense 2.3.4-RELEASE-p1 (i386)
      FreeBSD 10.3-RELEASE-p19
      pfBlockerNG 2.1.2_1
      Snort Security 3.2.9.5_3
      Intel(R) Atom(TM) CPU N270 @ 1.60GHz

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        The last dropdown select box (Daily/Weekly start hour) is the setting that you're looking for…

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • B
          battles
          last edited by

          Thanks, now I see the light!  There doesn't seem to be a 'weekly' in the list.

          pfSense 2.3.4-RELEASE-p1 (i386)
          FreeBSD 10.3-RELEASE-p19
          pfBlockerNG 2.1.2_1
          Snort Security 3.2.9.5_3
          Intel(R) Atom(TM) CPU N270 @ 1.60GHz

          1 Reply Last reply Reply Quote 0
          • D
            drewsaur
            last edited by

            @BBcan177:

            The last dropdown select box (Daily/Weekly start hour) is the setting that you're looking for…

            When I set this to "3", it wants to run my daily CRON at 1 AM. What might I be missing?

            Drew

            1 Reply Last reply Reply Quote 0
            • BBcan177B
              BBcan177 Moderator
              last edited by

              @drewsaur:

              @BBcan177:

              The last dropdown select box (Daily/Weekly start hour) is the setting that you're looking for…

              When I set this to "3", it wants to run my daily CRON at 1 AM. What might I be missing?

              Drew

              This depends on what settings you configured for the first cron selection box.

              "Experience is something you don't get until just after you need it."

              Website: http://pfBlockerNG.com
              Twitter: @BBcan177  #pfBlockerNG
              Reddit: https://www.reddit.com/r/pfBlockerNG/new/

              1 Reply Last reply Reply Quote 0
              • D
                drewsaur
                last edited by

                @BBcan177:

                @drewsaur:

                @BBcan177:

                The last dropdown select box (Daily/Weekly start hour) is the setting that you're looking for…

                When I set this to "3", it wants to run my daily CRON at 1 AM. What might I be missing?

                Drew

                This depends on what settings you configured for the first cron selection box.

                It's set to Daily.

                1 Reply Last reply Reply Quote 0
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  I'll check it out…

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator
                    last edited by

                    When you select "Daily or Weekly", you can define the hour in the last selection box "Daily/Weekly start hour"

                    "Experience is something you don't get until just after you need it."

                    Website: http://pfBlockerNG.com
                    Twitter: @BBcan177  #pfBlockerNG
                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                    1 Reply Last reply Reply Quote 0
                    • D
                      drewsaur
                      last edited by

                      I hope the attached makes my problem clearer.

                      View.png
                      View.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • D
                        drewsaur
                        last edited by

                        But when I look at my pfBlocker widget, it looks like everything is OK. So it's just a bug with the "Update" panel, I think….

                        Oh.jpg
                        Oh.jpg_thumb

                        1 Reply Last reply Reply Quote 0
                        • D
                          drewsaur
                          last edited by

                          BBcan177,

                          Now that I know you are the author of pfBlockerNG, I want to say THANK YOU, and also want to provide you with any information you deem helpful to address this apparent bug - please let me know,

                          Drew

                          1 Reply Last reply Reply Quote 0
                          • BBcan177B
                            BBcan177 Moderator
                            last edited by

                            @drewsaur:

                            BBcan177,

                            Now that I know you are the author of pfBlockerNG, I want to say THANK YOU, and also want to provide you with any information you deem helpful to address this apparent bug - please let me know,

                            Drew

                            It's actually not a bug ™... ;)

                            The Update tab uses the Cron Hourly setting. The Cron hour setting is used in the cron task.

                            The Daily/Weekly setting is used to define a specific Alias/Group to use a different hour setting. So even if the Cron setting is defined as "hourly", the "Daily/Weekly hour" can be used to only download an Alias/Group at the "Daily/Weekly" hour setting.

                            Hope that answers your question.

                            "Experience is something you don't get until just after you need it."

                            Website: http://pfBlockerNG.com
                            Twitter: @BBcan177  #pfBlockerNG
                            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                            1 Reply Last reply Reply Quote 0
                            • D
                              drewsaur
                              last edited by

                              What I mean by the bug is that "1:30" shows up as the next update time in the update tab…please see my original screenshot.

                              Thanks again,

                              Drew

                              GregTheHunG 1 Reply Last reply Reply Quote 0
                              • GregTheHunG
                                GregTheHun @drewsaur
                                last edited by

                                Sorry for the resurrection,

                                I seem to be experiencing the same issue, and my cron update won't go past 1 AM, and I'm on pfsense 2.5

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