-
Notifications
You must be signed in to change notification settings - Fork 406
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
How to cehck is job running or not? #257
Comments
As an option, you can Subscribe to Jobs Event and keep a list of running tasks manually.
|
So, after some tests I have understood that I can't stop or start particular job. Instead, I can remove or add job via So here is the code. Start and stop:
Show if the job is running:
Is it correct way? |
That seems to be correct. It's embarrassingly cumbersome doing that in the current version, and it shouldn't. We'll be fixing that on 6.0.0, see #273. |
How to cehck is job running or not? I have the following code in the
Startup.cs
class for initializing my job:and the following code in my controller:
I would like to show on the view is my job started or not. How I can do this? I can't see the suitable method.
The text was updated successfully, but these errors were encountered: