'Airflow pipeline schedule

I am trying to run a pipeline on a schedule where it runs on a certain weekday where n number of weekdays have already been elapsed? For example, I want to run it on Monday(weekday, may 16 2022) where we have already passed 10 weekdays in the month of May. Similarly for other months, I would like to run it on a Monday where we have crossed 10 weekdays before that Monday and so on.

I tried various ways but nothing worked the way I want. Is there a way to keep a count of weekdays while scheduling the airflow pipeline?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source