Im looking for a setup for notifications, for a daily event.
The event, in this case a file, comes once a day, in a fixed time slot.
When the file doesn't come. I need a notification.
Thanks in advance
Can you set up a scheduled task with a scripted job (your choice of scripting tool: VBScript, Perl, PowerShell, etc) to look for the file with a time stamp within a defined period?
Next step: what type of notification?
PI based notification:
Then, if the file is there, write a value to a PI tag with a value of 'True' or '1' indicating the file is present, otherwise write a value of 'False' or '0'.
Data can be written with some scripting language or a piconfig file.
From there, you should be able to set up the notification.
Email without PI:
Use a script to send the email as needed with "File found" or "File missing"
If Powershell is a suitable solution for you, I have a script that does this. Let me know and I'll find it and post it here.
Just please note that the script should be treated as an idea that needs to be validated and tested and that I and OSIsoft are not responsible for it.
Retrieving data ...