Hello Everyone,
Has been some months since I was last here, so I hope everyone is doing well.
Have a query which I've not been able to search for with any success.
Wish to create a loop that monitors for the existance of a trigger file.
The loop will run for a period of X minutes and test for the existance if a "trigger" file every five minutes after the initial test. Monitoring of the "trigger" file would stop at the end of the period (X minutes) or when the "trigger" is found (which ever happens first).
I'm intending to use the following para's within the script ...
set MonitorTime=45 ##- Monitoring period in minutes.
set MonitorInterval=5 ##- Monitoring interval in minutes.
set TStatus=FALSE ##- Trigger Status
I'm not at all conversant with how this might be achieved or how to manipulate time for this purpose.
If anyone has examples, links or search criteria that I might be able to use, I'd be more than appreciative.
Cheers,
Cameron