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

Checking state of a background Job #17

Open
ekid125 opened this issue Oct 13, 2015 · 0 comments
Open

Checking state of a background Job #17

ekid125 opened this issue Oct 13, 2015 · 0 comments

Comments

@ekid125
Copy link

ekid125 commented Oct 13, 2015

Hi Everyone!

I have a question about Background Jobs. For instance in the asynchronous example "gearman_example_client.py", the worker continues to work on the jobs after the applications already exits.

Now I want not to exit the application. Instead I want to continuously (for example once every second) check and wait if a result from a job is available. So is there a way to ask django-gearman about the state of a job using something like a job handle or job name?

Thank you very much!

Note: I want to create a web server where our colleagues can initiate calculations as workers, which are managed by a gearman server. The result of these calculations will then be visualized on the web server as soon as they are done by the workers.

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