https://dagster.io/ logo
#ask-community
Title
# ask-community
c

Charles

04/15/2023, 12:19 PM
How can I assign
hourly_schedule
to both
job_one
and
job_two
? Thanks!
Copy code
hourly_schedule = ScheduleDefinition(
    job=job_one,
    cron_schedule="1 0 * * *",
    default_status=DefaultScheduleStatus.RUNNING,
)

defs = Definitions(
    jobs=BindResourcesToJobs([job_one, job_two]),
    schedules=[hourly_schedule],
)