I am making an Automation Script that updates a custom plugin-file, that might is always be in use, to a newer version.
If the plugin doesn't already exist everything works fine.
But if it already exist it cannot be overwritten, because the Pulseway Service (and managers, if any are running) is using the file.
My solution is to stop the service, overwrite the file and start the service.
It works very well when executing manually in ISE, but not when executed as an Automation Script from Pulseway.
It looks like the entire script is terminated when the service stops, and the execution doesn't return anything in execution history - not even an error.
Could anyone help me with the best practice for updating a plugin dll-file from an Automation Script.
Hi.
I am making an Automation Script that updates a custom plugin-file, that might is always be in use, to a newer version.
If the plugin doesn't already exist everything works fine.
But if it already exist it cannot be overwritten, because the Pulseway Service (and managers, if any are running) is using the file.
My solution is to stop the service, overwrite the file and start the service.
It works very well when executing manually in ISE, but not when executed as an Automation Script from Pulseway.
It looks like the entire script is terminated when the service stops, and the execution doesn't return anything in execution history - not even an error.
Could anyone help me with the best practice for updating a plugin dll-file from an Automation Script.
Best Regards,
Martin Stevnhoved