Trying to get a custom script to obtain system uptime in hours and if uptime is greater than 24 hours send a console message to logged in user. Here is what I have so far, but the $Final variable will not populate properly. Also would like to pass the final uptime to an output variable which is tied to a custom field (system level) for use in workflows.
Any help would be greatly appreciated