can we have timer on automation script in order to rerun a method?
Ladan Razeghi [DevOps Enabler] Selected answer as best 1st August 2024
Hi Ladan,
As far as I'm aware it's not directly possible to add a timer on an automation script. There are some ways however to trigger it periodically:
- Create a scheduled task that will run your script for a given interval: every x minutes, hours, days, ... or on certain moments specifically.
- Trigger the script when an event happens. This could be done with a correlation rule when a certain alarm, information event or a parameter change happens.
- User Defined APIs.
The following documentation page also contains an overview and link to the mentioned modules. Running Automation scripts | DataMiner Docs
Hope this helps!
Ladan Razeghi [DevOps Enabler] Selected answer as best 1st August 2024