I have a few processes that have a trigger to run daily at 2AM or 4AM. Unfortunately, on my local environment, they start running only after I open Creatio. Also, all processes that have triggers don't work on weekends.
Dows anybody know how I can set up my IIS in order for them to work?
The BP will be executed only when the Creatio Application (i.e., the Creatio worker process is running) running. Unless there is no application pool/worker process of the Creatio instance running, any configuration like auto trigger event designed inside the application won't work.
The trigger should be all day, if the weekends are excluded the trigger wont be initiated.
To remedy this situation, we recommend setting up a ping that will send requests to the app at a specified frequency and prevent it from "falling asleep" in the absence of active users.
The following procedure describes the setup procedure:
Set Idle Timeout = 2 for the IIS application pool on which the application is running. Configure automatic monitoring of the Loader and the application.
Use the free monitoring service https://uptimerobot.com/ to set up automatic monitoring with a frequency of 5-10 minutes.
How can I run multiple local instances hosted in IIS at the same time? I have 2 instances hosted in IIS, so When I login into 1st instance, the system logs me out of the 2nd instance and vice versa. Any suggestion?
The problem is probably that the domain name of the websites is the same (for example my_site:88 and my_site:89). It is not possible to contain multiple sessions on the same domain.
In addition to Max's comment (about ensuring both sites have a different port in IIS) you need to make sure you've modified the Redis database number in the connections to both have a different number. For example, if one of the websites have Redis database number of 1, change the other to use a value of 2.