Wake on Lan, create automatique task for wake the park everydays
-
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
-
@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.
-
@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)
-
@educapole group management - click group - basic tasks - advanced tasks - WOL - schedule cron style
Or something like that.
-
@Wayne-Workman Thanks. In fact, i had to add a host in my group… If group is empty, there isn’t thoses functionalyties
-
@educapole Correct. How can you task something with nothing to task with?
-
@Tom-Elliott My bad By the way, can we do the same thing but shutdown the park with fog ? (without GPO)
-
@educapole of course.
-
@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."
-
Power management has all the functionality required. Plus, it lets the user override if they want.