Coder Social home page Coder Social logo

Comments (8)

dpfaffenbauer avatar dpfaffenbauer commented on July 29, 2024

I don't quite get where the queue is then. A queue for me are serialized executed jobs, but where is that in your use case?

from processmanager.

roynilsson avatar roynilsson commented on July 29, 2024

There would be a new table in the database with one column for which executable to use and another column for serialized settings data. After the job has been started the row in the database could be removed. Or add a another column with a status if we want to keep history.

from processmanager.

dpfaffenbauer avatar dpfaffenbauer commented on July 29, 2024

And from where do you start the queue?

from processmanager.

roynilsson avatar roynilsson commented on July 29, 2024

From pimcore maintenance job, just like CronListener works today. But instead of running executables with a cron-value we run executables that are listed in the jobs table.

from processmanager.

dpfaffenbauer avatar dpfaffenbauer commented on July 29, 2024

And from where do get jobs created? API?

from processmanager.

roynilsson avatar roynilsson commented on July 29, 2024

Yes, that's the idea. I suppose there could be a GUI for it. But a GUI to schedule the existing process types wouldnt really be useful. I think you have to implement your own custom process type with the canRun method to make use of it.

from processmanager.

dpfaffenbauer avatar dpfaffenbauer commented on July 29, 2024

Yeah no, GUI support doesn't make any sense. An process could create a queue anyway.

Yep, I'd be down to add that to Process Manager. Will you provide a PR?

from processmanager.

roynilsson avatar roynilsson commented on July 29, 2024

I will make a PR

from processmanager.

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.