Tim Posted December 13, 2021 Report Share Posted December 13, 2021 Hi, Possibly there's someone here more experienced than I am with configuring the 'OnErrorExecute' option in freshclam.conf. What I want to achieve is that, when freshclam isn't able to update the virus definition for some reason, a (powershell) script is ran that calls an internal API. The way I have configured it now in freshclam.conf is as follows: OnErrorExecute powershell.exe "D:\Updatelog.ps1" I'm trying to force an error by disconnecting my computer from the internet. That way it doesn't seem to do anything. When I run this exact line (excluding the 'OnErrorExecute', of course) in a command prompt window, it works like a charm, and the API is called. My suspicion is that I'm using the wrong format for this property to trigger the command, but that is just a guess. Does anyone know how to do this? Thanks in advance, Kind regards, Tim Link to comment Share on other sites More sharing options...
ritchie58 Posted December 14, 2021 Report Share Posted December 14, 2021 Hi Tim & thanks for your interest in Immunet. I would suggest that you submit your inquiry directly to ClamAV's support team instead. Here's a URL for ClamAV support. http://www.clamav.net/contact Use the 'Report a Bug' section for you submission. Best wishes, Ritchie... Link to comment Share on other sites More sharing options...
Tim Posted December 14, 2021 Author Report Share Posted December 14, 2021 Hi Ritchie, Thanks for your suggestion, and the URL. I will contact them directly. Best regards, Tim Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now