/build/static/layout/Breadcrumb_cap_w.png

Wake-on-LAN script for Monday through Friday Only

The Wake-on-LAN (WOL) web interface (http://kbox/adminui/wol.php) doesn't offer advanced scheduling like a regular Kscript. The choices are every day or pick one of the seven days. What I wanted was Monday through Friday only so the computers won't be powered up automatically on the weekend.

Here's a workaround I discovered and am not sure if it is working yet! Create a label to be applied to the desired computers, for example Wake6AM. Configure a new scheduled Wake-on-LAN item (http://kbox/adminui/wol_list.php). Assign it to the label created. Now here's the trick: Go to the Inventory/Labels tab and select that label to see the details. Under the "Label Uses" section will be Scripts. Expand the Scripts link to expose the WOL script link. Click it to visit the Wake-on-LAN script with more advanced features!

Instead of every day at 6 AM the Custom Schedule can be modified to read "0 6 * 1-5 *" which in essence means "At 6 AM weekdays." When the script is saved you are returned to the main Scripts list which doesn't include the WOL scripts. To return to that script you have to go the long way around again.

1 Comment   [ + ] Show comment
  • Here we are six years later and still no ability to set a WOL schedule to weekdays only without creating 5 separate schedules tied to 5 separate labels and all five have to be assigned to the computers for them to do WOL only on weekdays. - RichB 7 years ago

Answers (3)

Posted by: airwolf 14 years ago
Red Belt
0
I don't use WoL, but just looking over the interface it seems you may have overcomplicated things. You can create 5 WoL schedules - 1 for each weekday. This should solve the problem.

Your method should work as well, but it doesn't seem to be necessary.
Posted by: RichB 14 years ago
Second Degree Brown Belt
0
My custom schedule workaround didn't work. I had to resort to 5 separate schedules for every time and variance desired. This needs an easier implementation. Maybe 5.1?
Posted by: airwolf 14 years ago
Red Belt
0
5.1 is already in RC. You'll have to cross your fingers for the fall release. [;)]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ