Sending job status update strategy
Hello, I want to inform users of batched jobs (evry hours or when I have 10 jobs executed). How would you do that ? I feel that hooks is not suited for this use case or you have an idea to trigger only when we reach a certain number of jobs ?
Instead a sensor/cron job can trigger an email with a list of jobs at the time it is triggered. Any good practice ?
05/13/2022, 5:57 PM
I think for trigger-based workflow, I’d recommend using sensors.
In your case, you can maintain the state of executed job count in the sensor cursor and then either trigger a run to do the follow up logic or send an email directly inside the body of the sensor.