• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 May 31, 2017, 9:56 AM

    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

    W 1 Reply Last reply May 31, 2017, 1:24 PM Reply Quote 0
    • W
      Wayne Workman @educapole
      last edited by May 31, 2017, 1:24 PM

      @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 May 31, 2017, 3:18 PM Reply Quote 1
      • E
        educapole @Wayne Workman
        last edited by May 31, 2017, 3:18 PM

        @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)

        W 1 Reply Last reply May 31, 2017, 5:01 PM Reply Quote 0
        • W
          Wayne Workman @educapole
          last edited by May 31, 2017, 5:01 PM

          @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 May 31, 2017, 6:04 PM Reply Quote 1
          • E
            educapole @Wayne Workman
            last edited by May 31, 2017, 6:04 PM

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

            T 1 Reply Last reply May 31, 2017, 6:12 PM Reply Quote 0
            • T
              Tom Elliott @educapole
              last edited by May 31, 2017, 6:12 PM

              @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 May 31, 2017, 6:15 PM Reply Quote 0
              • E
                educapole @Tom Elliott
                last edited by May 31, 2017, 6:15 PM

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

                W G 2 Replies Last reply May 31, 2017, 11:39 PM Reply Quote 0
                • W
                  Wayne Workman @educapole
                  last edited by May 31, 2017, 11:39 PM

                  @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
                  • G
                    george1421 Moderator @educapole
                    last edited by george1421 Jun 3, 2017, 6:02 AM Jun 3, 2017, 12:02 PM

                    @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
                    • W
                      Wayne Workman
                      last edited by Jun 3, 2017, 3:20 PM

                      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
                      1 / 1
                      • First post
                        8/10
                        Last post

                      156

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project