Krishna Somasundaram Rm ee19b147
06/30/2022, 4:20 PMschedule_storage:
module: dagster.core.storage.schedules
class: SqliteScheduleStorage
config:
base_dir: /u/path/schedules
I've managed to start the dagster-daemon service, and in another terminal I have run the following code:
from dagster import job,op,ScheduleDefinition,repository,DefaultScheduleStatus
@op
def existential_crisis(context):
<http://context.log.info|context.log.info>("Im in a 5 minute loop! aaaaaa")
@job
def my_job():
existential_crisis()
my_running_schedule = ScheduleDefinition(
job=my_job, cron_schedule="0 9 * * *", default_status=DefaultScheduleStatus.RUNNING
)
@repository
def hello_world_repo():
return [my_job]
when I run this on dagit while setting the right dagster home variable too, the schedules tab simply says no schedules found.
Is it possible at all to test schedules, given that I cannot work with docker, and would like to stick with sqlite only?Brooke Talcott
06/30/2022, 4:24 PM@repository
def hello_world_repo():
return [my_job, my_running_schedule]
Krishna Somasundaram Rm ee19b147
06/30/2022, 4:42 PMBrooke Talcott
06/30/2022, 4:46 PMchris
06/30/2022, 7:06 PMKrishna Somasundaram Rm ee19b147
07/01/2022, 6:21 AM