Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scheduler command dagster schedule up should warn when DAGSTER_HOME is missing #2949

Closed
helloworld opened this issue Sep 23, 2020 · 0 comments
Assignees

Comments

@helloworld
Copy link
Contributor

helloworld commented Sep 23, 2020

When you run the command dagster schedule up but don't have the environment variable DAGSTER_HOME set, you get the following error message:

dagster schedule up
Usage: dagster schedule up [OPTIONS]

Error: A scheduler must be configured to run schedule commands.
You can configure a scheduler on your instance using dagster.yaml.
For more information, see:

https://docs.dagster.io/deploying/instance/#scheduler

This error message should only really be displayed if you have DAGSTER_HOME set, but still haven't configured a scheduler. We might want to add a small message letting the user know about DAGSTER_HOME on top of the current information about how to set up the scheduler in dagster.yaml

From the discussion: #2946

@rexledesma rexledesma self-assigned this Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants