Good morning,
We purchased a licence of powershell universal and we are happy of the tool.
We have only a problem now, in the log file we see this exception:
2021-04-21T13:27:17.4601625+02:00 [INF] Exception during stop. (69827b32)
System.NullReferenceException: Object reference not set to an instance of an object.
at Universal.Server.Services.SecurityProxy.StopAsync() in D:\a\universal\universal\src\Universal.Server\Services\SecurityProxy.cs:line 83
and it seems that after this exception all scheduled job doesnât work
Can you verify if you have set the idle settings for the app pool? Otherwise the jobs wont run because the app pool is being terminated. IIS - PowerShell Universal
Hi Adam,
thank for the link. I check in the event viewer and I see this message âserving application pool âPowershellUniversalâ has requested a recycle because the worker process reached its allowed processing time limitâ. I checked the settings of recycling the app pool and the regular time intervals is set to 1740s (default option). I need to turn off this setting?
Hmm. Usually, with AlwaysRunning set, it should restart the app pool after a recycle like this, and then it will schedule the jobs accordingly. I guess I could be mistaken. If this is the case, we need to add this setting to the documentation as well. You can try disabling this to see if it prevents this from happening.