DateTimeSensor

Apache Airflow Certified

Waits until the specified datetime.

View on GitHub

Last Updated: Nov. 17, 2022

Access Instructions

Install the Apache Airflow provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

target_timeRequireddatetime after which the job succeeds. (templated)

Documentation

Waits until the specified datetime.

A major advantage of this sensor is idempotence for the target_time. It handles some cases for which TimeSensor and TimeDeltaSensor are not suited.

param target_time

datetime after which the job succeeds. (templated)

Was this page helpful?