I have a scheduled job which should be run every 4 hours. It happens that sometimes job runs for more than 4 ours, so I'd like to interrupt it before the next run starts. But I can't find any configuration option for that in documentation. So here are related questions:
• Is there a way to "fail" a job run by timeout?
• How to prevent scheduled job run if the previous one is still in progress?
11/30/2022, 3:39 PM
as far as point (1) I think you can probably do that with a custom sensor or graphql
as far as (2), you can query the dagster instance in the schedule's evaluation function, and yield a SkipReason if there's already a run for the job in progress