The Reboot Schedule Plugin (Version 12) is used to manage the reboot schedules based on the local time zones of the machines deployed in the Automate system. Normally, the machines used to get reboot based on the time zone of the Labtech/Automate Server.
With the latest release, the Reboot Schedule Plugin has been updated to handle additional concerns like hiding reboot schedule tab on a group.
Click below for the download link
- Automate Version 10.5+
Installation of the Plugin:
There is a Link Library known as .dll file.
Follow the instructions below to install the .DLL file to your LabTech System.
Installation is simple and is done directly from your workstations or LT servers desktop. You only need to install the .dll one time, have all console users log out and back in to get the updated plugins once installed.
You will need to unzip the downloaded package and extract the .dll file to a location you can browse with your desktop system. You must unblock the .dll before trying to install it. To unblock right-click the .dll file and select properties. On the main properties page select the unblock button if one exists.
If not already open, open your LT/Automate control center and navigate up to the [Help] menu where you will find the Plugin Manager.
Now select the Advanced -> Manage Plugins -> Add Plugin menu and browse to the DLL file you extracted and select it.
You will be presented with the plugin registration window, select Save and Close.
Now back on the main screen you will find the Reboot Schedule Plugin for LabTech/Automate plugin in your list of available plugins but it is not yet activated. Right click on the plugin and select Enable.
Once enabled, If it is not already restarted database service of LabTech/Automate server, we can reload the Database Agent service from plugin manager. See following screenshot.
Now, a prompt will show up asking you to restart the database agent. Enter YES.
Then, the database agent will restart.
Now reload the Automate Control center, this will load the new plugin on the relaunch and you are all ready to get started.
To check if the Reboot Schedule Plugin is working fine, just verify that in the Plugin Manager->Enabled Plugins, the [DBLoaded] and [IIS Loaded] columns are green check marks.
Configuring Reboot Schedule Plugin
Time zone Setup:
1. Now, it’s possible to reboot machines according to their local time (not LabTech server time).
2. Reboot Schedule Plugin supports time zone compensation and hence very handy with new patch manager too.
3. To know Connectwise Automate server’s time zone, run the following command in MySQL Yog (Download MYSQL Yog URL is given above).
SELECT `TimeZone` FROM `labtech`.`computers` WHERE `ComputerID` = 1
4. Usually Connectwise Automate server’s computerid is 1, however please check your Automate server’s ID for desired results by the query.
5. Based on the result of that query, the Labtech server’s timezone can be found out and the timezone numeric value can be put in a labtech property called “LabTechServerTimeZone”. You may find it in
LABTECH 10.5, 11
System-> Dashboard-> Config-> Configurations-> Properties-> LabtechServerTimeZone
The timezone’s value can be inserted using following MYSQL Command:
UPDATE `labtech`.`properties` SET `Value` = 'EnterTimeZoneValueHere' WHERE `Name` = ' LabTechServerTimeZone ' ;
UPDATE `labtech`.`properties` SET `Value` = '-5' WHERE `Name` = ' LabTechServerTimeZone ' ;
Setup Maintenance Mode:
There are two properties that control maintenance mode and its duration. They are called MaintenanceMode and MaintenanceModeTime respectively.
1. If the Default value is ‘1’, it means disable alerts only.
2. To disable scripts only, you can put ‘2’.
3. To disable everything (alerts and scripts), you can put ‘3’ or ‘4’.
MaintenanceModeTime:- Default value is ‘30’ mins.
1. You may find these properties under:
LABTECH 10.5, 11
You can also update these properties’ value by using following MYSQL Commands:
UPDATE `labtech`.`properties` SET `Value` = '2' WHERE `Name` = ' MaintenanceMode ' ;
UPDATE `labtech`.`properties` SET `Value` = '60' WHERE `Name` = ' MaintenanceModeTime ' ;
Hide Reboot Schedule Tab on a Group:
1. “Reboot Schedule” tab can be hidden on a group by adding its group ID to a LabTech Properties called “ExcludeGroupFromRebootSchedule”. By Default, excluded groupIDs and group names are:
- Agent types (ID is 6),
- All Agents (ID is 5),
- All Clients (ID is 767),
- Service Plans (ID is 1),
- Windows Servers (ID is 9),
- Windows Desktop (ID is 10),
- Windows Laptop (ID is 11),
- _System Automation (ID is 972).
2. Command to hide Reboot Schedule Tab on a Group:
INSERT IGNORE INTO Properties (NAME, VALUE)
VALUES('ExcludeGroupFromRebootSchedule','0,1,5,6,9,10,11,767,972') ON DUPLICATE KEY UPDATE `NAME` = VALUES(NAME), `VALUE` = VALUES(VALUE)
INSERT IGNORE INTO Properties (NAME, VALUE) VALUES ('ExcludeGroupFromRebootSchedule', '0,1,5, 6, 9, 10,11,15, 16, 33,767,827, 851, 853, 972, 1003, 1004, 1012, 1019, 1020,1021, 1022') ON DUPLICATE KEY UPDATE `NAME` = VALUES(NAME), `VALUE` = VALUES(VALUE);
How to Configure Reboot Schedule on Group:
Group Screen: This is a screen where you can make a schedule to reboot the machines by your choice. You can use multiple schedules for one group. There is an option to save Notes.
1. Check the checkbox called “Enable Reboot Schedule” to make sure that you want to make a schedule.
2. Disable timezone compensation: If this checkbox is checked that means you want to reboot machines according to LabTech server’s timezone.
3. Reboot Schedule for Today Only: Go with this procedure if you would like to reboot machines in current day. Like if you would like to reboot the machine at your night time you can use this schedule. Once the specified schedule is gone, the procedure will get disabled automatically.
4. Reboot Schedule on Weekly Basis: Select this procedure if you want to reboot machines on a weekly basis. You will have to choose
Week(s) of the month,
Day(s) of the week,
And finally, time to reboot.
5. Reboot Schedule on Date of this Month: Choose this option if you would like to reboot the machines on date of each month.
6. Reboot Schedule on Day(s) of Month: Choose this procedure if you would like to reboot your machines at a specific day(s) of each month.
7. Reboot Schedule on Last day of Month: Choose this procedure if you would like to reboot your machines on the last day of each month.
To view Reboot Schedule and History of reboots:
LABTECH 10.5, 11
Click on View->Reboot Schedule Overview.
Tool->Reboot Schedule Overview
1. Schedule Tab: you will have information about all schedules that you have configured using the reboot schedule tab on groups.
2. History Tab: You can view all the history of reboots.