• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Wake on Lan, create automatique task for wake the park everydays

    Scheduled Pinned Locked Moved
    Feature Request
    4
    10
    2.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.
    • E
      educapole
      last edited by

      Hello,

      Since version 1.3.X i use Fog for wake up all hosts of my park. But i need to do it manually.
      Is that possible to integrate a function for do that automatically and everydays?

      Thanks

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @educapole
        last edited by

        @educapole You can create a recurring WOL task with FOG, I’ve done this in the past to automatically turn on computer labs in a school building so everything was ready to go when class started. You’d put all the computers into one group, then use the group to setup a WOL task, configure the CRON area for the WOL task.

        The below picture is how you would schedule a wakeup at 8 AM every day. For this to work right, the FOG Server’s OS date/time & timezone and PHP’s timezone (in fog settings web gui) need set correctly. Otherwise even though you define a schedule, it’ll fire off whenever the server thinks it’s 8 am.

        0_1496237038628_CRON wol.png

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        E 1 Reply Last reply Reply Quote 1
        • E
          educapole @Wayne Workman
          last edited by

          @Wayne-Workman Where did you go to get that? I make a group with all host but i havn’t the possibility to create a Cron-style task (fog 1.4.0)

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @educapole
            last edited by

            @educapole group management - click group - basic tasks - advanced tasks - WOL - schedule cron style

            Or something like that.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            E 1 Reply Last reply Reply Quote 1
            • E
              educapole @Wayne Workman
              last edited by

              @Wayne-Workman Thanks. In fact, i had to add a host in my group… If group is empty, there isn’t thoses functionalyties

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @educapole
                last edited by

                @educapole Correct. How can you task something with nothing to task with?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                E 1 Reply Last reply Reply Quote 0
                • E
                  educapole @Tom Elliott
                  last edited by

                  @Tom-Elliott My bad 😛 By the way, can we do the same thing but shutdown the park with fog ? (without GPO)

                  Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @educapole
                    last edited by

                    @educapole of course.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @educapole
                      last edited by george1421

                      @educapole said in Wake on Lan, create automatique task for wake the park everydays:

                      @Tom-Elliott can we do the same thing but shutdown the park with fog ? (without GPO)

                      If it was me I would let the target computer shutdown the computer after inactivity. You can configure the power config on the target computer to shutdown after XX minutes of inactivity. You can deploy the command via a fog snapin that updates the power configuration.

                      Or if you want to shut them all down right away by issuing the windows shutdown command via a snapin. You might deploy this command: shutdown.exe /s /f /t 30 /c "Computer shutdown in 30 seconds. Please close your files."

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 1
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        Power management has all the functionality required. Plus, it lets the user override if they want.
                        0_1496503226126_Power Management.png

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        210

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project