Giter Club home page Giter Club logo

Comments (6)

agronholm avatar agronholm commented on June 20, 2024

So, how long do I need to run this script to reproduce the issue? From the looks of it, it only fires at 16:10 every Monday. Would an IntervalTrigger not reproduce it?

from apscheduler.

agronholm avatar agronholm commented on June 20, 2024

Never mind, I was able to repro it after adjusting the time so it fires the job really soon.

from apscheduler.

agronholm avatar agronholm commented on June 20, 2024

Looks like this can be reproed with just the default memory job store too.

from apscheduler.

agronholm avatar agronholm commented on June 20, 2024

Ahhhh....I see the problem. The interpreter really DID shut down. I asked you about this and you denied it. But the script runs to completion and the only thing preventing it from shutting down are the non-daemonic threads you spawned. So to fix this, don't let the main thread run to completion. Use BlockingScheduler instead of BackgroundScheduler if you're not doing anything else in the main thread.

from apscheduler.

agronholm avatar agronholm commented on June 20, 2024

Also relevant: https://apscheduler.readthedocs.io/en/3.x/faq.html#why-doesn-t-the-scheduler-run-my-jobs

from apscheduler.

Anzal-calixto avatar Anzal-calixto commented on June 20, 2024

i didnt know if the interpreter was shutting down or not. sorry for not replying soon i live in india. i will try to run as you suggested

from apscheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.