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

    IP Update Cron Job

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 2.2k 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
      DBayPlaya2k3
      last edited by

      Can anyone point me to the location of the Cron Job that is used to update the ip address for Dynamic DNS?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        /etc/rc.dyndns.update
        Because my ISP seems to regularly reset their equipment and I get new IPs often, sometimes multiple times a day, I have used the Cron package to modify my job so it checks every 15 minutes. See screenshot.

        Cron.png
        Cron.png_thumb

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

          Ha thats funny I just wrote a post about this exact thing in another part of the forum before I looked back here to see if anyone awnsered. I found the location finally after a bit more googling.

          Funny part is I also set it to update every 15 mins but using the other method.

          Thread here: http://forum.pfsense.org/index.php/topic,58034.0.html

          Thanks for the awnser though.

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Note: If you directly edit /etc/crontab, then that will be overwritten next time you reboot. The crontab is generated from entries the pfSense config.xml
            To make it permanent, install the Cron package and edit the job from there - then both config.xml and /etc/crontab get updated.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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