Last active
October 9, 2019 03:36
-
-
Save schrockn/483cc0aa7aec791db2f336246dd261c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dagster import ScheduleDefinition, schedules | |
from dagster_cron import SystemCronScheduler | |
@schedules(scheduler=SystemCronScheduler) | |
def define_hello_world_schedules(): | |
return [ | |
ScheduleDefinition( | |
name='hello_world_every_min', | |
cron_schedule='* * * * *', | |
pipeline_name='hello_world_pipeline' | |
) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment