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

Change URL Table update frequency

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 1 Posters 2.7k 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.
  • J
    Jack37
    last edited by Apr 12, 2017, 4:49 PM

    Hi all,
    I would like to update an alias url's table every five minutes

    I have installed cron package to customize the /usr/bin/nice -n20 /etc/rc.update_urltables schedule; I have added */5 in the minutes's column

    Sadly it's not working; if I save the alias manually, the list is correctly updated

    Any ideas?

    Thanks to all in advance for help

    Best regards,
    Jack

    1 Reply Last reply Reply Quote 0
    • J
      Jack37
      last edited by Apr 13, 2017, 9:52 AM

      An update regards my question: in system logs I see this message

      rc.update_urltables: /etc/rc.update_urltables: Test_BlockList does not need updating.

      My list is a text file that is hosted on a webserver and that I call with a simple url (http://myhost.com/blocklist.txt)

      I tried to change the text file adding some IPs but PfSense says always  Test_BlockList does not need updating

      Thanks in advance
      Jack

      1 Reply Last reply Reply Quote 0
      • J
        Jack37
        last edited by Apr 13, 2017, 3:49 PM

        Sorry guys, I have solved my problem

        Opening the file rc.update_urltables on PfSense I have seen the forceupdate parameter

        I have modified the cron schedule such this: /usr/bin/nice -n20 /etc/rc.update_urltables now forceupdate

        Now It works perfectly

        Best regards,
        Jack

        Reference:
        https://github.com/goldchang/pfsense/blob/master/etc/rc.update_urltables
        https://github.com/goldchang/pfsense/blob/e0c1bfd7421c5a805b27a80247c4095c8efeab99/etc/inc/pfsense-utils.inc

        1 Reply Last reply Reply Quote 0
        • N netblues referenced this topic on Mar 20, 2022, 12:08 PM
        • N netblues referenced this topic on Mar 20, 2022, 12:08 PM
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received