scaffold nearby charging sites logic
This commit is contained in:
15
apps/tesla/src/schedules.py
Normal file
15
apps/tesla/src/schedules.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import assets
|
||||
|
||||
import dagster as dg
|
||||
|
||||
raw_schedule = dg.ScheduleDefinition(
|
||||
name="daily_refresh",
|
||||
cron_schedule="*/10 * * * *",
|
||||
target=[assets.raw_nearby_charging_sites],
|
||||
)
|
||||
|
||||
# dg.build_schedule_from_partitioned_job(
|
||||
# job=raw_nearby_charging_sites_job,
|
||||
# hour_of_day=9,
|
||||
# default_status=dg.DefaultScheduleStatus.STOPPED,
|
||||
# )
|
||||
Reference in New Issue
Block a user