

ObjPrtFile.Write " ERROR READING DATA TIMES (NO DATA?)" & vbcrlf ObjPrtFile.Write "" & f1.name & "" & vbcrlf Set objOpenFile = fso.OpenTextFile(f1, fileRead) ObjPrtFile.Write "Computer NameDatabase-Date & TimeDatabase-Age In Min" ObjPrtFile.Write "7/24 (Local Hospital Access) Updated for: " & Date & " " & Time & "" ObjShell.Run "\\sjzen01\prod\EDM\Apps\LHA-report\ping.vbs" Set objShell = Wscript.CreateObject("WScript.Shell") Set objPrtFile = fso.CreateTextFile("C:\LHAreport.htm", True) Set f = fso.GetFolder("\\sjzen01\prod\edm\reporting\LHA") Set fso = CreateObject("Scripting.FileSystemObject") Set objPrtFile = fs2.CreateTextFile("\\sjzen01\prod\EDM\Reporting\LHA\" & WshNetwork.ComputerName & "-724UPD.txt", True) If fs2.FileExists("\\sjzen01\prod\EDM\Reporting\LHA\" & WshNetwork.ComputerName & "-724UPD.txt") thenįs2.DeleteFile("\\sjzen01\prod\EDM\Reporting\LHA\" & WshNetwork.ComputerName & "-724UPD.txt") Set fs2 = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile("C:\724Access\724AccessDB\data\ibdata1") Set fs = CreateObject("scripting.FileSystemObject") Set WshNetwork = WScript.CreateObject("WScript.Network") Does anyone have any ideas? Below are the scripts I am currently using. Was thinking I could use an array, but not sure where to start with that. When I first set this up, the monitoring station would send a message everytime the script would update. The second issue is that I will need the message to be sent only once per machine.

Outdated in the message so the person who has the phone will know. The first part is to put the name of the PC that is I have been able to do this but there are some issues that I need addressed. I am looking into setting up a paging system so that when a PC gets to this point, it will send a message to our on-call phone. I set it up so that if it is older than 20 minutes the There is another script running on a monitoring station we have setup in our office. It then creates a file for each PC with the latest datestamp in the file. Of the data file for the downtime system. I have a script running on each PC every minute to get the datestamp We have 25 PCs that are spread across the hospital and need to stay up as much as possible. I am a PC technician at a local hosptial and I am working on a monitoring system for our downtime PCs.
