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

    Wake on LAN Schedule

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    10 Posts 5 Posters 5.6k 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.
    • R
      rybena
      last edited by rybena

      Hi does anyone know how to set up WOL to trigger everyday at a specific time? eg wake up a server everyday at7am.
      I can do this via the WOL option on the pfsense interface but not set a schedule.
      Do I have to set a cron job via the command line?

      Thanks for your help

      EDIT:
      I have figured it out, if anyone else is trying to do this, install the cron package and add this command
      /usr/local/bin/wol -i 192.168.X.X 00:11:22:33:44:55
      The ip and mac address being the ip and mac address of the machine your trying to wake.
      There is options for time, date etc there for you to edit.

      1 Reply Last reply Reply Quote 1
      • B
        bgroper
        last edited by bgroper

        It would be really nice to be able to schedule WOL events from the web GUI.

        Edit. Well, how 'bout that. I just installed the cron package, and can now setup the WOL cron events in the GUI. Nice.

        I'm not a complete idiot. There's still a few pieces missing.

        1 Reply Last reply Reply Quote 2
        • M
          mastertimax
          last edited by

          How to do?

          B 1 Reply Last reply Reply Quote 0
          • B
            bgroper @mastertimax
            last edited by

            @mastertimax said in Wake on LAN Schedule:

            How to do?

            Which step is causing you bother ?

            I'm not a complete idiot. There's still a few pieces missing.

            1 Reply Last reply Reply Quote 0
            • M
              mastertimax
              last edited by

              Hi! Thanks for reply.

              I installed a cron package but when configure a
              schedule the command dont work.

              2939a969-2391-417e-aca9-3e511de2f741-image.png

              can you help-me?

              The computer if i click on wakeonlan its woks but cron dont work

              1 Reply Last reply Reply Quote 0
              • M
                mastertimax
                last edited by mastertimax

                i setting the mac address this image is just exemple

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

                  Steps.

                  1. Read and understand the wol details in man page
                    https://www.freebsd.org/cgi/man.cgi?query=wol&manpath=ports&sektion=1
                  2. Test your wol command using the pfSense cli and make sure it works.
                  3. Copy your working wol command to the pfSense GUI page for the cron schedule/s.
                  4. When your problem is solved, thanks for upvoting my reply.          😃

                  I'm not a complete idiot. There's still a few pieces missing.

                  1 Reply Last reply Reply Quote 2
                  • M
                    mastertimax
                    last edited by mastertimax

                    Its works!

                    Thanks for all!

                    the work command is:

                    wol -i 192.168.0.0 00:11:22:33:44:55 in my case.

                    I was changing hours per minutes!

                    all the good thinks for you!

                    1 Reply Last reply Reply Quote 0
                    • P
                      pirotor Banned
                      last edited by

                      This post is deleted!
                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @pirotor
                        last edited by

                        @pirotor

                        It's possible.
                        Install the pfSense Cron package.
                        Add your 'wol' command and the moment you want to execute it.
                        Done.

                        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 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.