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

    Request: scheduled/deferred update

    2.0-RC Snapshot Feedback and Problems - RETIRED
    4
    6
    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.
    • C
      clarknova
      last edited by

      I'm tired of getting up at 4 am to run my updates. Would it be possible to tweak the UI or console so a person could schedule the update to run at an appointed time, just using the latest snap? Ubiquiti's AirControl software has a scheduler that can do this, and it's great.

      db

      1 Reply Last reply Reply Quote 0
      • W
        wagonza
        last edited by

        hmmm…i'm not one for auto-updating of stuff (specifically an OS), since murphy normally decides to play a role in that. Maybe thats just me.

        Follow me on twitter http://twitter.com/wagonza
        http://www.thepackethub.co.za

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by

          I think clarknova is referring to scheduling just one update, not necessarily a periodic update.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            It could be done, but not easily. Using some shell fu, you could download the snapshot you want to upgrade to somewhere on your pfsense box, and then use the firmware update scripts to apply it. I think you may also need the .md5 file for the update or it will generate a yes/no prompt if the image can't be validated.

            You could add the crontab entry for atrun using the cron package

            */5     *       *       *       *       root    /usr/libexec/atrun
            

            And then put an at job in to do what you want for a single time:

            $ at 4am
            /etc/rc.firmware upgrade /path/too/update.tgz
            ^D
            

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • C
              clarknova
              last edited by

              Yeah, I just need a one-off solution for testing new commits that address my issue. It wouldn't be entirely unattended either, as I have a remote system pinging my WAN, so if pfsense went down for more than 5 minutes I'd get a wake-up email anyway. I'll try Jim's suggestion next time I feel the need to grab the latest snap.

              db

              1 Reply Last reply Reply Quote 0
              • W
                wagonza
                last edited by

                @clarknova:

                Yeah, I just need a one-off solution for testing new commits that address my issue. It wouldn't be entirely unattended either, as I have a remote system pinging my WAN, so if pfsense went down for more than 5 minutes I'd get a wake-up email anyway. I'll try Jim's suggestion next time I feel the need to grab the latest snap.

                ahh - I mis-understood you. Would be interesting to hear if it all works for you.

                Follow me on twitter http://twitter.com/wagonza
                http://www.thepackethub.co.za

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