https://dagster.io/ logo
Title
p

Prratek Ramchandani

01/03/2022, 2:57 PM
happy new year! i’m working on a pretty minimal example with the local agent and can’t get my schedule to show up. my code location is just a path to a python file and i see the repo, job, and op in dagit but see no schedules. threading my code - any ideas?
d

daniel

01/03/2022, 3:07 PM
Hi Prratek - you want to include your schedule in the repository as well, so:
@repository
def meltano_repo():
    return [meltano_job, meltano_schedule]
p

Prratek Ramchandani

01/03/2022, 3:10 PM
well that was easy 🤦‍♂️
actually now i’m seeing this graphQL error when navigating to the schedules tab in dagit
d

daniel

01/03/2022, 3:11 PM
ah, will take a look!
ah, this is an unfortunate error experience - right now cron_schedule needs to be of the form
* * * * *
- so changing it to
0 0 * * *
instead of
@daily
should work for now. I'll cut an issue to improve the validation there (and potentially support cronstrings of that format)
Issue filed here: https://github.com/dagster-io/dagster/issues/6082 - hopefully the change above is enough to unblock you for now, but let us know if you run into any trouble
p

Prratek Ramchandani

01/03/2022, 4:17 PM
ah okay, yeah that fix worked. thank you!
:condagster: 1
d

daniel

01/03/2022, 4:19 PM
oh, yes! That's clearly not right, thanks for pointing that out.
:next-level-daggy: 1