Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
airflow-dags-hub
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
唐香港
airflow-dags-hub
Commits
6003d097
Commit
6003d097
authored
Jun 29, 2020
by
吴升宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update pgsql
parent
e2ede543
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
create_table_per_day.py
dags/psql/create_table_per_day.py
+2
-2
No files found.
dags/psql/create_table_per_day.py
View file @
6003d097
#
coding: utf-8
#
-*- coding: utf-8 -*-
from
datetime
import
timedelta
,
datetime
from
datetime
import
timedelta
,
datetime
import
calendar
import
calendar
from
airflow
import
DAG
from
airflow
import
DAG
...
@@ -21,7 +21,7 @@ dag = DAG(
...
@@ -21,7 +21,7 @@ dag = DAG(
default_args
=
default_args
,
default_args
=
default_args
,
catchup
=
False
,
catchup
=
False
,
description
=
''
,
description
=
''
,
schedule_interval
=
'0 0 1 * * 0'
,
# 每月一号零点执行一次
schedule_interval
=
'0 0 1 * * 0'
,
)
)
now_time
=
datetime
.
now
()
now_time
=
datetime
.
now
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment