GithubHelp home page GithubHelp logo

Comments (8)

NunoFilipeSantos avatar NunoFilipeSantos commented on June 9, 2024 1

This is the only hit I read on docs: The next time at which to run the job. The job can be paused by setting this value to infinity, and restarted with a value of now().

@mkindahl or @erimatnor might know more.

from docs.

mkindahl avatar mkindahl commented on June 9, 2024 1

@Loquacity When the job starts execution, it seems to set the next_start value to -infinity. Once the job completes, it will set the value to the actual computed next start time. Look in bgw_job_stat_tuple_mark_start and you will se that it is set to DT_NOBEGIN, which is a constant representing -infinity.

from docs.

mindrunner avatar mindrunner commented on June 9, 2024

Me too wondering what that means.

from docs.

mindrunner avatar mindrunner commented on June 9, 2024

I am guessing here, but it seems that it means something like:

Never ran, to be scheduled as soon as possible

from docs.

Loquacity avatar Loquacity commented on June 9, 2024

@NunoFilipeSantos Can you help here?

from docs.

mindrunner avatar mindrunner commented on June 9, 2024

So if a running Job gets killed or segfaults or similar, this stays -Inf forever and never gets rescheduled?

from docs.

mkindahl avatar mkindahl commented on June 9, 2024

@mindrunner The scheduler will notice that the state is incorrect and correct the next start so that it is rescheduled.

from docs.

mindrunner avatar mindrunner commented on June 9, 2024

Cool, yea I noticed that as well. However, sometimes it seems like nothing is happening at all. Is there some sort of frequency for the scheduler being active? e.g. how long am I supposed to wait after a job failed for it to be re-scheduled?

from docs.

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.