Hi The flow running on ECSTask is executed periodi...
# ask-community
r
Hi The flow running on ECSTask is executed periodically. However, yesterday’s flow remains pending without starting for some reason. Is there a way to monitor whether or not an auto-scheduled flow has been executed? Right now, I am notifying Slack after execution, but this is only when the execution is done. . thank you
j
I'd check agent logs. Last time I had pending flow was because agent was not able to communicate back the status due to a known bug in httpx lib
c
You can use an automation to trigger when the the state changes :
j
😲 Is it not that "Automations" is Prefect Cloud exclusive, @Christopher Boyd? I have not set up Orion server yet, so could be wrong here..
c
Ah you’re indeed right they are
r
I would like to have a mechanism to automatically detect and notify if it does not start at the scheduled time.
c
Generally speaking, that’s automations
More than that, and you’d probably need to be looking to write another flow that checks existing flows for state
j
I believe non-cloud way of doing this is to either query the database or the api for monitoring purposes 🤷
r
ok. thank you