Base solution for your next web application
Open Closed

How to deal with system shutdown? #8571


User avatar
0
ivanosw1 created

Hi, has you know, when Windows 10 is shutdown, actually it enters in a semi hibernation state. When it is turned on again, all the events on modules (PreInitialize, Initialize, PostInitilized) are not raised. Worse, all quartz's triggers are still alives and so we loose many events. We have a very complex scenario and a dedicated procedure during initilization take care of "what should had been happened" while the server was turned off and after, creates the trigger. (Is not possible to use misfire configuration and we need the all triggers are destroyed) But, if the events never happens, we have a problems.

Do you have some advices about this "behaviour" ? How to recognize a shutdown and restart all the modules ?

Thank you.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    Zero is a web application, and its life cycle is controlled by web servers such as IIS.

    It should be independent of the operating system (win, linux, docker).