Skip to content

Adding 'nice' process priority parameter to jobs #130

Description

@paulgoodchild

Firstly, absolutely love this Jobby system. Thanks for providing and maintaining this.

I've come up against an issue where we're running background processes, some of which are quite intensive in different ways.

A nice addition would be to add a nice process priority to each command that gets kicked off? So instead of just:

php cmd args etc.
you could have:

[nice [priority]] php cmd args etc

I can maybe have a dig around the code to see how straight forward it would be to add this and offer a PR? If I did so would you look to incorporate it?

Can you foresee any issues with this?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions