Scheduled events not running (local and cloud)

0
Hey All,   For a few weeks I've been struggeling with figuring out why my Scheduled events are not running in the cloud and on my localhost. I'm working in mendix 10.12.10 i tried upgrading to 10.12.15 but still nothing happens. Because of some compliance reason 10.12.10 is the latest version i can use. The action manager does schedule the event.   If you have some ideas on what the problem could be I would appreciate the advice.   Many thanks for considering my request.
asked
5 answers
0

Are you running your app as a free app in the cloud? Because those don't run scheduled events:

 

image.png

answered
0

Hi Leratho,

 

We were also facing tthe issue of the schedulers are not executing properly from time to time.

Can just create another scheduler and call the same logic, and deploy to cloud to see if its working.

 

Because, we were experiencing the same and whenever we create new scheduler and schedule it and deploy -> the issue seems to be rectified.

answered
0

This can be caused by serval points : 

  1. Scheduler Execution Conflicts:   If the same scheduler logic is being executed multiple times in parallel (for example, because of overlapping scheduled tasks), it could be causing conflicts or resource exhaustion, especially if you're using shared resources like database connections or external APIs.
  2. Resource Exhaustion: Sometimes, the issue may be related to system resources like database connections, thread pools, or memory, which are not properly cleaned up or reused, leading to failure in executing scheduled tasks.
  3. Logging and Monitoring:f there is no logging in place, it can be difficult to determine why a scheduler isn't executing as expected.
answered
0

Hi Leratho,

Schedul event only works free on localhost does not in the private cloud. If you are using private cloud then you have to purchase the license version of scheduler.

answered
0

Hey all,

 

First of all thank you for the help it is very much appreciated.

 

But problem i had was caused by a flow in ASU that deleted all queuedTasks. Because of this subsequent scheduled events were not triggerd as the previous task could not be set to a finished status

answered