heavelock opened a new issue #11118: URL: https://github.com/apache/airflow/issues/11118
**Description** I recently had to write a Dag that was a few tasks that had to be executed with very strict time window of a day. Among airflow's sensors the only one that checks if a given time of a day has passed is TimeSensor. Unfortunately, it checks only for the bottom time limit, not the top. So If the task has to be executed after 1pm but before 6pm, it cannot be used. **Use case / motivation** This sensor can be used to have some more control over tasks that have to be executed within very specific time limits during a day. It is the most useful during backfilling of dags containing time-sensitive tasks. **Related Issues** None. Since I implemented that sensor for myself, it would be quite quick for me to do a PR. 1. Do you think there is a need for this sensor to be available out of the box 2. Should it be implemented as separate sensor ie TimeWindowSensor, or rather should I add upper bound to the TimeSensor that would be defaulted to None. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
