Giter Site home page Giter Site logo

Comments (2)

mrgfisher avatar mrgfisher commented on June 12, 2024

Whilst I'm not the author, I do use this library in a personal project and very much like it...

@akshaypawar123 - I wouldn't expect the behavior you are expecting :-)

If at 12:00 my app starts up and then schedules a job for 5 minutes time, I would definiately expect it to run at the clock time of 12:05 or as soon as possible subject to external factors (other jobs taking CPU cycles or indeed the host being suspended).

I can't think of a sensible way for the scheduler to measure 'potential run time because the host is awake' to accurately run the job after 5 minutes of awake time vs clock time. That said, one super crude hack would be to have the job run (say) every minute, keep some internal state, and then when the counter gets to 5 to actually run the logic. Of course, the best solution might be to not put the host to sleep if its meant to be doing scheduled jobs... 😊

from fluentscheduler.

akshaypawar123 avatar akshaypawar123 commented on June 12, 2024

from fluentscheduler.

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.