Airflow Dag Run

Hi Every One,
I want to run my dag once the current execution is successfully completed. I know if we use schedule interval, It will automatically run based on the time. But in my case, I want to run once the current execution is completed excluding the time taken to complete. Please suggest a way.

Thanks in Advance.

So, you want to run it endlessly in a loop?..so it executes, and when it completes it executes again, and repeat forever?

The way I’d done this is to set the schedule interval to be, say 30 seconds, and set max_active_runs=1…the scheduler will attempt to run it every 30 seconds but if it is already running it will not run it again…that way whenever it completes execution it will begin execution again, within 30 seconds