Hello,
I have been tasked with removing some of the old versions of automation scripts from our production system.These are all files that wee do not expect to be used (i.e. labelled _old or old versions) however I found that on one of our DMA monitors one of the scripts we expected never to be called was in the history.
I was wondering if there is an easy way to tell the last execution time of a script against any DMA (i.e. if it was run anywhere rather than on a specific one) as this will give me both the confidence to delete scripts that have not been run and also fix and views etc where a script is being called and shouldn't be
Many thanks
Oliver
Hi Oliver,
A possible option is to search for information events using the following filter:
- Parameter description (by protocol): DataMiner ELement Control Protocol
- Parameter: Script started
This will provide you the list of scripts executed. You can fine tune your filter by adding an extra filter (e.g. Value). When a script is executed, the information event generated will contain the name of the script (in the column 'Value'):
Hope it helps!
Hi Oliver,
One option would be to leverage the system information events.
You can build a filter like this, to get an overview of all scripts that are executed in the last days, weeks, months...
If you sort the result by the value column, you'll get the events grouped by script, each listing their execution time.
On top of that, every script that is not in this list has not been executed in the chosen timeframe (and could be considered safe to delete).