is there a way to schedule task when a parameter meets ?
db-scheduler.enabled=true
db-scheduler.heartbeat-interval=5m
db-scheduler.polling-interval=10s
db-scheduler.polling-limit=
db-scheduler.table-name=scheduled_tasks
db-scheduler.immediate-execution-enabled=false
db-scheduler.scheduler-name=
db-scheduler.threads=10
I want this to execute when this row in db has a specific column value.
Is there a way to do it ? I dont want that condition to be verified in code . Because that will cause delay.
As it is possible that some other instance might meet the criteria. For eg, i have 3 env and column name is env and value is blue.
Now I want this task to be picked only by the blue env.
is there a way to schedule task when a parameter meets ? db-scheduler.enabled=true db-scheduler.heartbeat-interval=5m db-scheduler.polling-interval=10s db-scheduler.polling-limit= db-scheduler.table-name=scheduled_tasks db-scheduler.immediate-execution-enabled=false db-scheduler.scheduler-name= db-scheduler.threads=10
These are the parameters.
Is there a way to do it ? I dont want that condition to be verified in code . Because that will cause delay. As it is possible that some other instance might meet the criteria. For eg, i have 3 env and column name is env and value is blue. Now I want this task to be picked only by the blue env.