Skip to content
Snippets Groups Projects
Commit 388adf97 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

Delete testdag.py

parent 37085c90
No related branches found
No related tags found
No related merge requests found
Pipeline #126480 failed
from datetime import timedelta
from airflow import DAG
from airflow.operators.bash import BashOperator
from airflow.utils.dates import days_ago
def_args = {
'owner': 'airflow',
'depends_on_past': False,
'email_on_failure': False,
'email_on_retry': False,
'retries': 1,
'retry_delay': timedelta(minutes=5)
}
with DAG('testdag', default_args=def_args, description='simple testing dag', schedule_interval=timedelta(days=1), start_date=days_ago(2)) as dag:
t1 = BashOperator(task_id='print_date', bash_command='date')
t2 = BashOperator(task_id='do_noting', bash_command='sleep 5')
t1 >> t2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment