I have this trigger that monitors a log and makes sure that a process we has modifies this log no longer than 2 hours, from 8am to 430pm, if has not been modified for longer than 2 hours within this time frame, it will trigger.
Now they are telling me this process does not run on weekends, so obviously this is going to send out an alert this weekend. I am having a hard time figuring out how to get this trigger to only be active Monday through Friday.
Here is the current trigger...
({MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].fuzzytime(7500)}=0 & ({MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].time(0)}>080000 & {MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].time(0)}=163000))
Just a little help real quick will go a long way! Thanks ahead of time!
Now they are telling me this process does not run on weekends, so obviously this is going to send out an alert this weekend. I am having a hard time figuring out how to get this trigger to only be active Monday through Friday.
Here is the current trigger...
({MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].fuzzytime(7500)}=0 & ({MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].time(0)}>080000 & {MyHostName:vfs.file.time[D:\PPSCENTRAL\ImportLogging\CMS\Import\Errorlog.tx t].time(0)}=163000))
Just a little help real quick will go a long way! Thanks ahead of time!