Create Scheduled Activity >> Email Based on Results in Registry

(imported topic written by thesurg3on91)

Hi,

Our past engineer wrote a reboot management action which reboots computers based on time, day, and what week it falls in the month.

Example:

Saturday, 17:00, Every Third Saturday in the Month

This information is stored in the registry

\HKEY_LOCAL_MACHINE_SOFTWARE\BigFix\EnterpriseClient\RebootManagement

Enabled: (yes or no)

Frequency: (first week in month, second, third, fourth, fifth, or every specified day in the month)

RebootDay: (mon, tue, wed, thur, fri, sat, or sun)

RebootTime: (any value in 24hr in servers time zone, ex. 17:00)

What I would like to do is setup a scheduled report that does the following in psuedo code

If Enabled = YES, then if RebootDay and Frequency is Today, then email list of computers to be rebooted today along with the values staing when they will be rebooted and what time.

I haven’t much insight on how to do this and I would greatly appreciate your help.

(imported comment written by BenKus)

This might be the easiest approach:

  • Create another agent property that says “Restart today?” (true/false)
  • How about create a Report in Web Reports that lists the computers that are reporting “True” to this property.
  • Set a scheduled activity to email you the report each day.

Ben