question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Schedules don't run

See original GitHub issue

Summary

I have a Dagit with 4 repositories, each with different schedules.
Ussually the run perfectly but now the aren’t runing and there is no advice, no error, no nothing.
I’m traing localy by changin the time and waiting but nothing, traing to removing all the Dagit folders that create with history and logs, but nothing to.
I try to find something in the issues here, or in stack overflow but nothing to, that’s why I’m creating this issue.

Reproduction

  1. Create solids
  2. Create pipelines
  3. Create schedule
  4. Create repository
  5. Run dagit

Dagit UI/UX Issue Screenshots

Screenshot from 2021-05-19 16-32-36 Screenshot from 2021-05-19 16-33-07

Additional Info about Your Environment

requirements.txt I need to specify the flask and Werkzeug version because with the new flask and new Werkzeug I have a socket error.

flask==1.1.4
Werkzeug==1.0.1
dagster==0.10.5
dagit==0.10.5
dagster-cron==0.10.5
dagster-pandas==0.10.5

dagster.yml

scheduler:
  module: dagster_cron.cron_scheduler
  class: SystemCronScheduler

telemetry:
      enabled: false

Message from the maintainers:

Impacted by this bug? Give it a 👍. We factor engagement into prioritization.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
gibsondancommented, May 21, 2021

No problem! this stuff is complicated/hard to debug when issues come up, esp when the logs don’t appear in Dagit. Glad it’s working!

1reaction
gibsondancommented, May 21, 2021

A couple of options:

  • If you use the DefaultRunLauncher rather than the DockerRunLauncher (by taking out the ‘run_launcher’ key from your instance yaml), it will launch the run within that same container instead of in a new container. That way it should have access to all the environment variables (but you don’t get one container per run which is nice for some things)

  • If you do want to use DockerRunLauncher, you need to configure it with all the environment variables as part of the run launcher config (it would be nice if there was some way to tell it to make a ‘copy’ of an existing service/container rather than just create a new container using the same image, but we don’t have anything like that currently). Unfortunately I don’t think the docker API for python has support for env files yet, so you may need to list out the environment variables individually for now (like you are currently listing DAGSTER_POSTGRES_USER etc.).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task Scheduler not Running: 5 Methods to Enable it Again
1. Check if the scheduled task is enabled · Press Windows + R , then type taskschd.msc and hit Enter . · Click...
Read more >
How to Fix Windows Task Scheduler Not Running on ...
Open Task Scheduler. Double-click the task that will not run. Go to the Conditions tab.
Read more >
Schedules not running · Issue #2601 · pterodactyl/panel - GitHub
I have issues using pterodactyl schedules, only some of them are running but not all of them. The schedules was working on version...
Read more >
Schedule not working well on Task Scheduler - Microsoft Q&A
Hello,. I have scheduled a job but, for some reason I don't understand, it is not possible to “actually” run it. Today is...
Read more >
Scheduled Tasks don't run on schedule - SnapLogic Community
In the documentation Scheduling a Task, it states: A scheduled task can take up to 10 minutes past the scheduled time to execute....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found