start new:
tmux
start new with session name:
tmux new -s myname
| from datetime import datetime, timedelta | |
| import networkx as nx | |
| from airflow import DAG | |
| from airflow.operators import BashOperator, SubDagOperator | |
| start_date = datetime(year=2017, month=6, day=13, hour=19, minute=0) | |
| schedule_interval = '0 * * * 1-5' | |
| default_args = { |
| import hashlib | |
| import uuid | |
| int(hashlib.sha1(str(uuid.uuid4()).replace('-', '')).hexdigest(), 16) % 2147483647 |