File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 2
2
from django .core .management import call_command
3
3
4
4
5
- @shared_task
6
- def extract_pdc_data ():
7
- call_command ("extract_pdc_data" )
8
-
9
-
10
- @shared_task
11
- def extract_gidd_data ():
12
- call_command ("extract_gidd_data" )
13
-
14
-
15
- @shared_task
16
- def extract_usgs_data ():
17
- call_command ("extract_usgs_data" )
18
-
19
-
20
5
@shared_task
21
6
def load_data ():
22
7
call_command ("load_data_to_stac" )
Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ class CronJob(typing.NamedTuple):
50
50
schedule = crontab (minute = 0 , hour = 17 ),
51
51
),
52
52
"import_gidd_data" : CronJob (
53
- task = "apps.etl.tasks.extract_gidd_data " ,
53
+ task = "apps.etl.etl_tasks.gidd.ext_and_transform_gidd_latest_data " ,
54
54
schedule = crontab (minute = 0 , hour = 18 ),
55
55
),
56
56
"import_usgs_data" : CronJob (
57
57
task = "apps.etl.etl_tasks.usgs.ext_and_transform_usgs_latest_data" ,
58
58
schedule = crontab (minute = 0 , hour = 19 ),
59
59
),
60
60
"import_pdc_data" : CronJob (
61
- task = "apps.etl.tasks.extract_pdc_data " ,
61
+ task = "apps.etl.etl_tasks.pdc.extract_and_transform_pdc_data " ,
62
62
schedule = crontab (minute = 30 , hour = 20 ),
63
63
),
64
64
"load_data_to_stac" : CronJob (
You can’t perform that action at this time.
0 commit comments