Replies: 1 comment
-
My main problem is that Process A is run from the console via is there a way to notice Process A about the change? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my Doctrine Entity Terminal looks like this:
cronExpr
Stringstatus
andautomatic
my SchedulerProvider looks like this
now my problem is how do i make
getSchedule()
be called again if one of the entities changed?and if i could get it to notice when the Entity is changed (via symfony gui), would that work while the
messenger:consume
is running?i tried
AsEntityListener
but as exprected, the consume command doesn't care about the Entities that have been changed by the Symfony Web frontenddoing it with CallbackTrigger doesn't work either as i wanted:
Edit: my current attempt is using the
StopWorkerOnRestartSignalListener::RESTART_REQUESTED_TIMESTAMP_KEY
but i don't know if that is a good way or not
Beta Was this translation helpful? Give feedback.
All reactions