Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'nice' process priority parameter to jobs #130

Open
paulgoodchild opened this issue Jul 27, 2020 · 0 comments
Open

Adding 'nice' process priority parameter to jobs #130

paulgoodchild opened this issue Jul 27, 2020 · 0 comments

Comments

@paulgoodchild
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant